Changeset 142
- Timestamp:
- 08/11/06 10:57:47 (2 years ago)
- Files:
-
- branches/mk/README (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/mk/README
r140 r142 16 16 * existence of certain files such as README, INSTALL, LICENSE, setup.py etc. 17 17 * percentage of modules/functions/classes/methods with docstrings 18 * pylint score 18 19 * ... and many others 19 20 … … 72 73 for twill-0.7.4.tar.gz is /tmp/twill-0.7.4.tar.gz.log). 73 74 The log file is automatically deleted after the Cheesecake index is 74 computed, except for situations when error hasoccured.75 computed, except for situations when errors have occured. 75 76 76 77 Command-line examples: … … 99 100 part of the code kwalitee index computation 100 101 * `setuptools <http://peak.telecommunity.com/DevCenter/setuptools>`_ is 101 required for t esting installation102 required for the installability index computation 102 103 103 104 Obtaining the source code … … 145 146 We use `nose <http://somethingaboutorange.com/mrl/projects/nose/>`_ for automatic 146 147 testing of our project, so if you want to test Cheesecake on your machine, please 147 install that first. Running standard set of Cheesecake unit test is as easy as::148 install that first. Running the standard set of Cheesecake unit test is as easy as:: 148 149 149 150 python setup.py test 150 151 151 This command is equivalent of::152 This command is equivalent to:: 152 153 153 154 nosetests --verbose --with-doctest --doctest-tests --include unit --exe … … 158 159 159 160 Functional tests can take a bit longer to complete, as they test cheesecake_index 160 script as a whole ( opposed to testing modules and classes separately).161 162 If you happen to f ound any of our tests failing, please don't hesitate to contact161 script as a whole (as opposed to testing modules and classes separately). 162 163 If you happen to find any of our tests failing, please don't hesitate to contact 163 164 us, either via 164 `cheesecake-devel mailing list <http://lists .sourceforge.net/lists/listinfo/cheesecake-devel>`_165 `cheesecake-devel mailing list <http://lists2.idyll.org/listinfo/cheesecake-dev>`_ 165 166 or via `Cheesecake Trac <http://pycheesecake.org/>`_. 166 167 … … 171 172 `here <http://agilistas.org:8888/>`_. 172 173 173 Mailing list 174 ------------ 175 176 Developer mailing list: http://lists.sourceforge.net/lists/listinfo/cheesecake-devel 174 Mailing lists 175 ------------- 176 177 Developer mailing list: http://lists2.idyll.org/listinfo/cheesecake-dev 178 User mailing list: http://lists2.idyll.org/listinfo/cheesecake-users 177 179 178 180 License … … 205 207 -------------------------------------------- 206 208 207 Overall Cheesecke score is asum of values of 3 main indexes208 (installability, documentation and code kwalitee). Values of these209 indexes rely on values of their subindexes and so on. Whole index tree210 and corresponding values for each leaf ispresented below:209 The overall Cheesecake score is the sum of values of 3 main indexes 210 (installability, documentation and code kwalitee). The values of these 211 indexes rely on values of their subindexes and so on. The whole index tree 212 and corresponding values for each leaf are presented below: 211 213 212 214 * Installability … … 248 250 * package has unit tests: 30 249 251 250 Final score depends on how wellpackage scores for all indexes251 listed above. Score is presented in absolute range (number of points)252 and relative (percent of gathered points compared to maximum).252 The final score depends on how well the package scores for all indexes 253 listed above. The score is presented in absolute range (number of points) 254 and relative (percent of points obtained compared to maximum possible points). 253 255 254 256 .. [#oneof] It is enough for a package to contain only one of listed files. … … 256 258 (module, class or function) that have docstrings. For example, if 257 259 you have 50 documentable objects and 32 of them have docstrings 258 your code will get 64 points ( 'cause 64% of objects are documented).260 your code will get 64 points (because 64% of objects are documented). 259 261 .. [#formatted] Number of points depends on number of docstrings that are found 260 262 to contain one of known markup. Currently ReST, epytext and javadoc are
