Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.33MB] [CPU: ▼27.11ms] Passed 4 tests
This is a short check of server-side resources used by Article Feedback
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 38.88 ▼0.95 |
Dashboard /wp-admin | 3.18 ▼0.17 | 27.96 ▼35.88 |
Posts /wp-admin/edit.php | 3.32 ▼0.04 | 31.11 ▼18.50 |
Add New Post /wp-admin/post-new.php | 4.72 ▼1.17 | 40.67 ▼48.63 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 28.95 ▼5.44 |
Article Feedback /wp-admin/options-general.php?page=article-feeback-settings | 3.16 | 26.94 |
Server storage [IO: ▲0.94MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
feedback_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Article Feedback: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲170 | 14.07 ▼0.31 | 8.57 ▲6.84 | 42.62 ▼0.78 |
Dashboard /wp-admin | 2,231 ▲43 | 5.04 ▲0.14 | 101.74 ▼20.16 | 36.72 ▼6.38 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.32 ▲0.27 | 35.18 ▼1.79 | 33.40 ▲0.45 |
Add New Post /wp-admin/post-new.php | 1,537 ▲4 | 23.22 ▲0.07 | 667.76 ▼26.90 | 39.19 ▼19.15 |
Media Library /wp-admin/upload.php | 1,407 ▲19 | 4.45 ▲0.25 | 98.74 ▼5.96 | 42.40 ▼2.81 |
Article Feedback /wp-admin/options-general.php?page=article-feeback-settings | 1,222 | 2.24 | 52.89 | 50.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- feedback_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=article-feeback-settings
- > Notice in wp-content/plugins/wp-article-feedback/plugin.php+113
Undefined variable: version
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
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-article-feedback/plugin.php:61
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: article, wp article feedback, icons, font-awesome, wordpress article feedback...
wp-article-feedback/plugin.php 85% from 13 tests
The main file in "Article Feedback" v. 1.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-article-feedback.php" instead of "plugin.php")
- Description: The description should be shorter than 140 characters (currently 200 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin3,672 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 7 | 16 | 2,434 |
SVG | 1 | 0 | 0 | 655 |
PHP | 1 | 55 | 75 | 291 |
PO File | 2 | 90 | 90 | 228 |
JavaScript | 2 | 10 | 3 | 64 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 28.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 3 | 16.67% |
▷ Public methods | 16 | 88.89% |
▷ Protected methods | 1 | 5.56% |
▷ Private methods | 1 | 5.56% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/csscheckbox_82405711c484478c3bbca93e304dc9c3.png | 0.49KB | 0.46KB | ▼ 5.78% |