Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼1.17ms] Passed 4 tests
A check of server-side resources used by Dummy Images
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 44.24 ▼0.79 |
Dashboard /wp-admin | 3.40 ▲0.09 | 53.75 ▲3.10 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 52.02 ▼1.03 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 90.36 ▼5.94 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 44.17 ▲3.95 |
Dummy Images /wp-admin/upload.php?page=dummy-images | 3.29 | 35.81 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Dummy Images
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.35 ▲0.09 | 1.80 ▲0.24 | 42.39 ▼0.40 |
Dashboard /wp-admin | 2,202 ▲25 | 5.61 ▼0.06 | 94.32 ▲3.79 | 42.57 ▲4.96 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.98 ▼0.14 | 35.57 ▲1.27 | 34.11 ▼2.68 |
Add New Post /wp-admin/post-new.php | 1,541 ▲2 | 22.93 ▲4.81 | 645.27 ▲2.61 | 52.43 ▼16.84 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.22 ▲0.11 | 110.40 ▲1.41 | 45.68 ▼2.42 |
Dummy Images /wp-admin/upload.php?page=dummy-images | 1,150 | 2.65 | 55.13 | 29.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% 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 no errors were found, this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/dummy-images/dummy-images.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/dummy-images/views/media.php:2
- > 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 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots lack descriptions #2, #3 in dummy-images/assets to your readme.txt
dummy-images/dummy-images.php 92% from 13 tests
The main PHP script in "Dummy Images" version 1.0.2 is automatically included on every request by WordPress
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 158 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin437 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 78 | 15 | 312 |
JavaScript | 2 | 18 | 0 | 62 |
Sass | 1 | 8 | 0 | 62 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 15.50 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 1.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 1 | 4.17% |
▷ Public methods | 10 | 41.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 14 | 58.33% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 5 | |
▷ Global constants | 4 | 80.00% |
▷ Class constants | 1 | 20.00% |
▷ Public constants | 1 | 100.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
There are no PNG files in this plugin