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.32MB] [CPU: ▼14.93ms] Passed 4 tests
An overview of server-side resources used by Mobile Ready Content Images
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.45 ▼0.01 | 33.74 ▼7.03 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.59 ▼2.72 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 46.59 ▼2.48 |
Add New Post /wp-admin/post-new.php | 4.60 ▼1.28 | 45.31 ▼47.48 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 34.09 ▼0.38 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
recovery_mode_email_last_sent |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Mobile Ready Content Images
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.70 ▼0.68 | 1.75 ▼0.06 | 40.44 ▼6.39 |
Dashboard /wp-admin | 2,206 ▲14 | 5.82 ▲0.89 | 96.00 ▼23.42 | 39.74 ▼1.88 |
Posts /wp-admin/edit.php | 2,086 ▼6 | 1.99 ▲0.00 | 40.36 ▼0.08 | 35.09 ▼0.66 |
Add New Post /wp-admin/post-new.php | 45 ▼1,488 | 0.44 ▼17.91 | 0.10 ▼609.38 | 11.78 ▼54.09 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.27 ▲0.03 | 104.17 ▲8.02 | 63.53 ▲20.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- recovery_mode_email_last_sent
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/mobile-ready-content-images/index.php:50
- > 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 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: images, mobile, responsive images, content images, responsive
mobile-ready-content-images/index.php 92% from 13 tests
The main PHP file in "Mobile Ready Content Images" ver. 0.0.1 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("mobile-ready-content-images.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin1,666 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 355 | 528 | 1,666 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 143.67 |
▷ Minimum class complexity | 104.00 |
▷ Maximum class complexity | 197.00 |
Average method complexity | 4.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 58.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 110 | |
▷ Static methods | 1 | 0.91% |
▷ Public methods | 92 | 83.64% |
▷ Protected methods | 16 | 14.55% |
▷ Private methods | 2 | 1.82% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 22 | |
▷ Global constants | 21 | 95.45% |
▷ Class constants | 1 | 4.55% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected