[d267aed] | 1 | Microsoft Windows XP [Version 5.1.2600] |
---|
| 2 | (C) Copyright 1985-2001 Microsoft Corp. |
---|
| 3 | |
---|
| 4 | C:\Documents and Settings\galina\workspace>pylint sans.calculator |
---|
| 5 | No config file found, using default configuration |
---|
| 6 | ************* Module sans.calculator |
---|
| 7 | C: 1: Missing docstring |
---|
| 8 | ************* Module sans.calculator.slit_length_calculator |
---|
| 9 | C: 75: Line too long (87/80) |
---|
| 10 | C: 91: Line too long (83/80) |
---|
| 11 | C: 16:SlitlengthCalculator.__init__: Invalid name "y" (should match [a-z_][a-z0- |
---|
| 12 | 9_]{2,30}$) |
---|
| 13 | C: 14:SlitlengthCalculator.__init__: Invalid name "x" (should match [a-z_][a-z0- |
---|
| 14 | 9_]{2,30}$) |
---|
| 15 | C: 25:SlitlengthCalculator.set_data: Invalid name "x" (should match [a-z_][a-z0- |
---|
| 16 | 9_]{2,30}$) |
---|
| 17 | C: 25:SlitlengthCalculator.set_data: Invalid name "y" (should match [a-z_][a-z0- |
---|
| 18 | 9_]{2,30}$) |
---|
| 19 | C: 25:SlitlengthCalculator.set_data: Invalid name "x" (should match [a-z_][a-z0- |
---|
| 20 | 9_]{2,30}$) |
---|
| 21 | C: 25:SlitlengthCalculator.set_data: Invalid name "y" (should match [a-z_][a-z0- |
---|
| 22 | 9_]{2,30}$) |
---|
| 23 | C: 46:SlitlengthCalculator.calculate_slit_length: Invalid name "y" (should match |
---|
| 24 | [a-z_][a-z0-9_]{2,30}$) |
---|
| 25 | C: 47:SlitlengthCalculator.calculate_slit_length: Invalid name "x" (should match |
---|
| 26 | [a-z_][a-z0-9_]{2,30}$) |
---|
| 27 | C: 62:SlitlengthCalculator.calculate_slit_length: More than one statement on a s |
---|
| 28 | ingle line |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | Report |
---|
| 32 | ====== |
---|
| 33 | 45 statements analysed. |
---|
| 34 | |
---|
| 35 | Statistics by type |
---|
| 36 | ------------------ |
---|
| 37 | |
---|
| 38 | +---------+-------+-----------+-----------+------------+---------+ |
---|
| 39 | |type |number |old number |difference |%documented |%badname | |
---|
| 40 | +=========+=======+===========+===========+============+=========+ |
---|
| 41 | |module |2 |2 |= |50.00 |0.00 | |
---|
| 42 | +---------+-------+-----------+-----------+------------+---------+ |
---|
| 43 | |class |1 |1 |= |100.00 |0.00 | |
---|
| 44 | +---------+-------+-----------+-----------+------------+---------+ |
---|
| 45 | |method |4 |4 |= |100.00 |0.00 | |
---|
| 46 | +---------+-------+-----------+-----------+------------+---------+ |
---|
| 47 | |function |0 |0 |= |0 |0 | |
---|
| 48 | +---------+-------+-----------+-----------+------------+---------+ |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | Raw metrics |
---|
| 53 | ----------- |
---|
| 54 | |
---|
| 55 | +----------+-------+------+---------+-----------+ |
---|
| 56 | |type |number |% |previous |difference | |
---|
| 57 | +==========+=======+======+=========+===========+ |
---|
| 58 | |code |46 |50.55 |45 |+1.00 | |
---|
| 59 | +----------+-------+------+---------+-----------+ |
---|
| 60 | |docstring |23 |25.27 |23 |= | |
---|
| 61 | +----------+-------+------+---------+-----------+ |
---|
| 62 | |comment |15 |16.48 |14 |+1.00 | |
---|
| 63 | +----------+-------+------+---------+-----------+ |
---|
| 64 | |empty |7 |7.69 |6 |+1.00 | |
---|
| 65 | +----------+-------+------+---------+-----------+ |
---|
| 66 | |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | Duplication |
---|
| 70 | ----------- |
---|
| 71 | |
---|
| 72 | +-------------------------+------+---------+-----------+ |
---|
| 73 | | |now |previous |difference | |
---|
| 74 | +=========================+======+=========+===========+ |
---|
| 75 | |nb duplicated lines |0 |0 |= | |
---|
| 76 | +-------------------------+------+---------+-----------+ |
---|
| 77 | |percent duplicated lines |0.000 |0.000 |= | |
---|
| 78 | +-------------------------+------+---------+-----------+ |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | |
---|
| 82 | Messages by category |
---|
| 83 | -------------------- |
---|
| 84 | |
---|
| 85 | +-----------+-------+---------+-----------+ |
---|
| 86 | |type |number |previous |difference | |
---|
| 87 | +===========+=======+=========+===========+ |
---|
| 88 | |convention |12 |14 |-2.00 | |
---|
| 89 | +-----------+-------+---------+-----------+ |
---|
| 90 | |refactor |0 |0 |= | |
---|
| 91 | +-----------+-------+---------+-----------+ |
---|
| 92 | |warning |0 |494 |-494.00 | |
---|
| 93 | +-----------+-------+---------+-----------+ |
---|
| 94 | |error |0 |0 |= | |
---|
| 95 | +-----------+-------+---------+-----------+ |
---|
| 96 | |
---|
| 97 | |
---|
| 98 | |
---|
| 99 | Messages |
---|
| 100 | -------- |
---|
| 101 | |
---|
| 102 | +-----------+------------+ |
---|
| 103 | |message id |occurrences | |
---|
| 104 | +===========+============+ |
---|
| 105 | |C0103 |8 | |
---|
| 106 | +-----------+------------+ |
---|
| 107 | |C0301 |2 | |
---|
| 108 | +-----------+------------+ |
---|
| 109 | |C0321 |1 | |
---|
| 110 | +-----------+------------+ |
---|
| 111 | |C0111 |1 | |
---|
| 112 | +-----------+------------+ |
---|
| 113 | |
---|
| 114 | |
---|
| 115 | |
---|
| 116 | Global evaluation |
---|
| 117 | ----------------- |
---|
| 118 | Your code has been rated at 7.33/10 (previous run: -100.43/10) |
---|
| 119 | |
---|
| 120 | |
---|
| 121 | C:\Documents and Settings\galina\workspace> |
---|