Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- Install procedure had errors
- > Deprecated in wp-content/plugins/responsible/responsible.php+45
Methods with the same name as their class will not be constructors in a future version of PHP; responsible has a deprecated constructor
Server metrics [RAM: ▼1.93MB] [CPU: ▼60.78ms] Passed 4 tests
Server-side resources used by Responsible
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 5.39 ▼37.61 |
Dashboard /wp-admin | 2.08 ▼1.26 | 5.82 ▼56.67 |
Posts /wp-admin/edit.php | 2.09 ▼1.27 | 5.71 ▼53.54 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.80 | 5.07 ▼95.31 |
Media Library /wp-admin/upload.php | 2.09 ▼1.14 | 5.74 ▼28.47 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Responsible
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲52 | 14.68 ▲0.31 | 2.05 ▼0.22 | 44.96 ▲4.67 |
Dashboard /wp-admin | 2,207 ▲36 | 5.63 ▲0.05 | 95.06 ▲0.46 | 39.32 ▼3.70 |
Posts /wp-admin/edit.php | 2,115 ▲12 | 1.96 ▼0.04 | 39.85 ▼0.47 | 32.05 ▼4.54 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.39 ▲0.20 | 690.42 ▲0.86 | 61.86 ▲7.23 |
Media Library /wp-admin/upload.php | 1,412 ▲15 | 4.17 ▼0.07 | 99.15 ▼1.30 | 43.41 ▲1.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/responsible/responsible.php+45
Methods with the same name as their class will not be constructors in a future version of PHP; responsible has a deprecated constructor
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsible/responsible.php:158
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: There are too many tags (11 tag instead of maximum 10)
responsible/responsible.php Passed 13 tests
The main file in "Responsible" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
50 characters long description:
Viewport resizing comes to the WordPress admin bar
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
Everything looks great! No dangerous files found in this plugin149 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 22 | 89 | 48 |
Markdown | 1 | 19 | 0 | 34 |
CSS | 1 | 5 | 0 | 32 |
PO File | 1 | 0 | 0 | 20 |
JSON | 1 | 0 | 0 | 15 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin