Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.90ms] Passed 4 tests
A check of server-side resources used by Comment But Not SEO
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 45.25 ▲0.18 |
Dashboard /wp-admin | 3.35 ▲0.05 | 55.12 ▼2.91 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 51.52 ▼0.58 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 88.07 ▼8.30 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 39.85 ▲2.85 |
Comment But Not SEO Settings /wp-admin/options-general.php?page=cbns-settings | 3.24 | 36.83 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Comment But Not SEO
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,880 ▲119 | 13.80 ▼0.49 | 8.30 ▲6.64 | 39.89 ▼4.14 |
Dashboard /wp-admin | 2,199 ▲22 | 5.55 ▼0.08 | 84.21 ▼9.65 | 38.04 ▼5.44 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 1.99 ▲0.01 | 36.03 ▲0.04 | 36.31 ▼3.01 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.29 ▲2.41 | 694.20 ▲52.67 | 52.95 ▲3.55 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.21 ▲0.05 | 111.29 ▲6.82 | 49.86 ▲4.73 |
Comment But Not SEO Settings /wp-admin/options-general.php?page=cbns-settings | 870 | 1.99 | 25.77 | 30.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/comment-but-not-seo/comment-but-not-seo.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots lack descriptions #1, #2, #3 in comment-but-not-seo/assets to your readme.txt
comment-but-not-seo/comment-but-not-seo.php Passed 13 tests
The entry point to "Comment But Not SEO" version 1.0.0 is a PHP file that has certain tags in its header comment area
112 characters long description:
Displays a notice to the commenter not to use the URL field of comment form for their Search Engine Optimization
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected220 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 41 | 18 | 206 |
JavaScript | 1 | 2 | 0 | 14 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.03 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin