Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.20MB] [CPU: ▼267.15ms] Passed 4 tests
Server-side resources used by Responsify WP
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.01 ▲0.18 | 35.44 ▲5.70 |
Dashboard /wp-admin | 3.32 ▲0.27 | 39.47 ▼10.25 |
Posts /wp-admin/edit.php | 3.37 ▲0.26 | 45.03 ▼0.29 |
Add New Post /wp-admin/post-new.php | 5.62 ▲0.19 | 92.72 ▼1,056.43 |
Media Library /wp-admin/upload.php | 3.20 ▲0.19 | 35.63 ▼1.64 |
RWP Settings /wp-admin/options-general.php?page=responsify-wp | 3.19 | 33.48 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 33 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Responsify WP: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,668 ▲62 | 16.34 ▲0.81 | 9.26 ▲1.01 | 48.77 ▲2.43 |
Dashboard /wp-admin | 2,946 ▲96 | 6.39 ▲0.46 | 148.46 ▲13.52 | 102.44 ▼0.33 |
Posts /wp-admin/edit.php | 2,728 ▲22 | 2.99 ▲0.31 | 66.88 ▼2.74 | 97.79 ▲5.68 |
Add New Post /wp-admin/post-new.php | 1,663 ▲75 | 18.35 ▼2.99 | 350.59 ▲77.49 | 106.64 ▼1.81 |
Media Library /wp-admin/upload.php | 1,779 ▲7 | 5.03 ▲0.04 | 156.55 ▼1.53 | 110.18 ▼2.74 |
RWP Settings /wp-admin/options-general.php?page=responsify-wp | 1,835 | 2.55 | 65.11 | 88.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
- 16× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/responsify-wp/admin/views/selected_element.php:5
- > PHP Fatal error
Uncaught Error: Class 'element' not found in wp-content/plugins/responsify-wp/includes/native-element.php:2
- > PHP Fatal error
Uncaught Error: Class 'Img' not found in wp-content/plugins/responsify-wp/includes/native-img.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/responsify-wp/admin/views/content_filter.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/responsify-wp/admin/views/retina.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/responsify-wp/admin/views/ignored_image_formats.php:4
- > PHP Fatal error
Uncaught Error: Class 'Create_Responsive_image' not found in wp-content/plugins/responsify-wp/includes/element.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function submit_button() in wp-content/plugins/responsify-wp/admin/views/media_queries.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/responsify-wp/admin/views/picturefill.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_intermediate_image_sizes() in wp-content/plugins/responsify-wp/admin/views/settings.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #3, #5 in responsify-wp/assets to your readme.txt
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
responsify-wp/responsify-wp.php Passed 13 tests
"Responsify WP" version 1.9.11's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
73 characters long description:
Responsify WP is the WordPress plugin that cares about responsive images.
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
Success! There were no dangerous files found in this plugin2,033 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 177 | 231 | 1,462 |
JavaScript | 3 | 27 | 15 | 512 |
CSS | 1 | 2 | 0 | 59 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 2.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 1 | 6.25% |
▷ Concrete classes | 15 | 93.75% |
▷ Final classes | 0 | 0.00% |
Methods | 91 | |
▷ Static methods | 3 | 3.30% |
▷ Public methods | 52 | 57.14% |
▷ Protected methods | 39 | 42.86% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 4 | 57.14% |
▷ Anonymous functions | 3 | 42.86% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin