Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▲0.41ms] Passed 4 tests
Server-side resources used by Responsive Checker
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.01 | 37.69 ▼3.04 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.51 ▼2.82 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 48.17 ▲3.63 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 90.59 ▲7.49 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.91 ▲3.86 |
Responsive Checker /wp-admin/admin.php?page=menu-res-checker-handle | 3.20 | 30.03 |
Make it Responsive /wp-admin/admin.php?page=menu_responsive_checker_make_responsive | 3.20 | 29.11 |
Server storage [IO: ▲0.05MB] [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: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Responsive Checker
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲96 | 13.31 ▼1.08 | 4.47 ▲2.44 | 40.08 ▼8.05 |
Dashboard /wp-admin | 2,237 ▲52 | 4.86 ▼1.04 | 102.66 ▼13.43 | 39.43 ▼1.69 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.05 ▲0.02 | 42.37 ▲7.53 | 34.68 ▼1.98 |
Add New Post /wp-admin/post-new.php | 1,540 ▼2 | 17.49 ▼0.77 | 576.87 ▼20.70 | 53.96 ▲6.81 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.22 ▲0.04 | 99.79 ▲4.16 | 41.93 ▼0.63 |
Responsive Checker /wp-admin/admin.php?page=menu-res-checker-handle | 1,232 | 1.92 | 27.61 | 48.34 |
Make it Responsive /wp-admin/admin.php?page=menu_responsive_checker_make_responsive | 780 | 2.07 | 25.10 | 24.04 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/responsive-checker/responsive-checker.php:15
- > 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
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tested up to: Version not formatted correctly
responsive-checker/responsive-checker.php Passed 13 tests
This is the main PHP file of "Responsive Checker" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
35 characters long description:
Responsive checker for your website
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin156 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 3 | 0 | 72 |
PHP | 2 | 11 | 16 | 45 |
CSS | 2 | 0 | 0 | 39 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
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 | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 18.92KB | 11.00KB | ▼ 41.87% |
assets/images/Rotation-icon.png | 1.33KB | 1.17KB | ▼ 12.21% |
assets/images/redo-icon.png | 3.42KB | 2.02KB | ▼ 40.79% |