Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲5.04MB] [CPU: ▲21.90ms] 75% from 4 tests
An overview of server-side resources used by Comments Not Replied To
Please take the time to fix the following items
- Extra RAM: Extra memory usage should kept under 5MB (currently 5.04MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.88 ▲5.42 | 67.87 ▲24.03 |
Dashboard /wp-admin | 8.90 ▲5.60 | 77.04 ▲28.25 |
Posts /wp-admin/edit.php | 8.90 ▲5.55 | 77.12 ▲33.25 |
Add New Post /wp-admin/post-new.php | 9.47 ▲3.58 | 107.85 ▲2.06 |
Media Library /wp-admin/upload.php | 8.90 ▲5.67 | 72.35 ▲36.62 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 8.90 | 59.21 |
Server storage [IO: ▲3.21MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 208 new files
Database: no new tables, 10 new options
New WordPress options |
---|
fs_debug_mode |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
cnrt-version |
fs_active_plugins |
fs_accounts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Comments Not Replied To: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,856 ▲99 | 13.69 ▼0.71 | 1.62 ▼0.35 | 31.34 ▼17.54 |
Dashboard /wp-admin | 2,265 ▲80 | 5.88 ▲0.03 | 98.24 ▼3.01 | 40.89 ▲1.31 |
Posts /wp-admin/edit.php | 2,126 ▲37 | 2.05 ▼0.01 | 38.94 ▼2.64 | 40.36 ▲3.75 |
Add New Post /wp-admin/post-new.php | 1,557 ▲21 | 18.04 ▼5.21 | 619.89 ▲24.21 | 55.04 ▲1.02 |
Media Library /wp-admin/upload.php | 1,419 ▲34 | 4.23 ▲0.02 | 94.73 ▼1.81 | 44.10 ▲2.28 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,097 | 1.69 | 23.04 | 29.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/comments-not-replied-to/vendor/freemius/wordpress-sdk/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- This plugin does not fully uninstall, leaving 10 options in the database
- fs_accounts
- fs_active_plugins
- widget_theysaidso_widget
- cnrt-version
- fs_debug_mode
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 4× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/comments-not-replied-to/commentsNotRepliedTo.php
- > /wp-content/plugins/comments-not-replied-to/comments-not-replied-to.php
- > /wp-content/plugins/comments-not-replied-to/admin/pricing-page.php
- > /wp-content/plugins/comments-not-replied-to/admin/Admin.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: comments, replied, comments reply, not replied
comments-not-replied-to/comments-not-replied-to.php Passed 13 tests
"Comments Not Replied To" version 1.5.8's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
76 characters long description:
Easily see which comments have not received a reply from each post's author.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin35,846 lines of code in 158 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 133 | 8,346 | 18,128 | 34,475 |
JavaScript | 5 | 62 | 133 | 537 |
CSS | 15 | 86 | 11 | 514 |
PO File | 2 | 76 | 78 | 207 |
Markdown | 1 | 39 | 0 | 59 |
JSON | 1 | 0 | 0 | 52 |
SVG | 1 | 0 | 0 | 2 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
Please tend to the following items
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 83.04 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 56 | |
▷ Abstract classes | 2 | 3.57% |
▷ Concrete classes | 54 | 96.43% |
▷ Final classes | 0 | 0.00% |
Methods | 1,359 | |
▷ Static methods | 226 | 16.63% |
▷ Public methods | 945 | 69.54% |
▷ Protected methods | 17 | 1.25% |
▷ Private methods | 397 | 29.21% |
Functions | 103 | |
▷ Named functions | 99 | 96.12% |
▷ Anonymous functions | 4 | 3.88% |
Constants | 163 | |
▷ Global constants | 116 | 71.17% |
▷ Class constants | 47 | 28.83% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/kofi.png | 9.90KB | 3.59KB | ▼ 63.77% |
vendor/freemius/wordpress-sdk/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
admin/img/comments-not-replied-to.png | 2.76KB | 2.46KB | ▼ 10.87% |
vendor/freemius/wordpress-sdk/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |