Benchmarks
Plugin footprint 83% 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: ▲0.03MB] [CPU: ▼2.63ms] Passed 4 tests
An overview of server-side resources used by ReplyBox - Better WordPress Comments
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.22 ▼5.45 |
Dashboard /wp-admin | 3.33 ▲0.03 | 44.00 ▼2.22 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.07 ▼1.93 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 91.36 ▼0.92 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.10 ▲5.02 |
Welcome to ReplyBox /wp-admin/index.php?page=replybox-welcome | 3.27 | 35.24 |
ReplyBox /wp-admin/options-general.php?page=replybox | 3.26 | 31.36 |
Server storage [IO: ▲0.68MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 42 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
replybox |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ReplyBox - Better WordPress Comments
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,740 ▲5 | 13.61 ▼1.17 | 1.56 ▼0.30 | 38.28 ▼12.56 |
Dashboard /wp-admin | 2,160 ▼32 | 4.85 ▼0.13 | 97.58 ▼18.07 | 39.82 ▼1.15 |
Posts /wp-admin/edit.php | 2,079 ▼10 | 2.00 ▼0.04 | 38.77 ▼0.56 | 35.79 ▼1.01 |
Add New Post /wp-admin/post-new.php | 1,510 ▼4 | 17.77 ▲0.34 | 596.12 ▼68.28 | 54.31 ▼9.72 |
Media Library /wp-admin/upload.php | 1,378 ▼10 | 4.19 ▼0.01 | 95.46 ▼22.12 | 40.22 ▼8.30 |
Welcome to ReplyBox /wp-admin/index.php?page=replybox-welcome | 1,104 | 2.01 | 25.18 | 80.08 |
ReplyBox /wp-admin/options-general.php?page=replybox | 824 | 2.03 | 24.02 | 26.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- replybox
- can_compress_scripts
- widget_theysaidso_widget
- 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
Everything seems fine, however 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
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
file_get_contents(REPLYBOX_PATHassets/img/logo.svg): failed to open stream: No such file or directory in wp-content/plugins/replybox/views/admin-welcome.php on line 9
- > PHP Warning
Use of undefined constant REPLYBOX_PATH - assumed 'REPLYBOX_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/replybox/views/admin-welcome.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_list_comments() in wp-content/plugins/replybox/views/comments.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/replybox/views/admin-welcome.php:37
- > PHP Warning
Use of undefined constant REPLYBOX_URL - assumed 'REPLYBOX_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/replybox/views/admin-welcome.php on line 1
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
2 plugin tags: comments, comment
replybox/replybox.php Passed 13 tests
"ReplyBox - Better WordPress Comments" version 1.1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
99 characters long description:
A simple, honest comment system which works everywhere. No ads, no dodgy affiliate links, no fluff.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected1,107 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 122 | 252 | 589 |
CSS | 1 | 73 | 60 | 443 |
SVG | 22 | 0 | 0 | 75 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 1.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 40 | |
▷ Static methods | 1 | 2.50% |
▷ Public methods | 28 | 70.00% |
▷ Protected methods | 1 | 2.50% |
▷ Private methods | 11 | 27.50% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin