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.00MB] [CPU: ▼145.22ms] Passed 4 tests
Analyzing server-side resources used by Responsive
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.00 | 33.42 ▲0.18 |
Dashboard /wp-admin | 3.06 ▲0.01 | 42.35 ▲2.78 |
Posts /wp-admin/edit.php | 3.11 ▲0.01 | 42.41 ▼9.82 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 92.54 ▼565.64 |
Media Library /wp-admin/upload.php | 3.00 ▼0.00 | 32.07 ▼5.61 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Responsive
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,950 ▲355 | 16.24 ▲0.53 | 16.86 ▲8.75 | 48.40 ▲4.11 |
Dashboard /wp-admin | 2,973 ▲39 | 6.08 ▲0.15 | 137.69 ▼2.63 | 112.82 ▲4.58 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.71 ▼0.00 | 68.42 ▲7.27 | 90.73 ▼9.51 |
Add New Post /wp-admin/post-new.php | 1,502 ▼370 | 18.60 ▼0.49 | 383.19 ▲25.16 | 112.30 ▲1.02 |
Media Library /wp-admin/upload.php | 1,810 ▲3 | 5.03 ▼0.02 | 159.04 ▲11.82 | 117.88 ▼10.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive/responsive.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
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
These attributes need your attention:
- Tested up to: The plugin version is formatted incorrectly
- Screenshots: A description for screenshot #2 is missing in responsive/assets to your readme.txt
responsive/responsive.php Passed 13 tests
Analyzing the main PHP file in "Responsive" version 1.1.0
50 characters long description:
Will make your theme responsive without any effort
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
Success! There were no dangerous files found in this plugin41 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 15 | 16 | 41 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin