Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼1.53ms] Passed 4 tests
An overview of server-side resources used by Popup dropping box
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 37.71 ▼5.16 |
Dashboard /wp-admin | 3.38 ▲0.07 | 51.13 ▼3.19 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 51.00 ▲1.79 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 97.39 ▲0.43 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 39.67 ▲3.64 |
Popup dropping box /wp-admin/options-general.php?page=popup-dropping-box | 3.31 | 34.33 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 20 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_popupdbox |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
popup-dropping-box |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Popup dropping box
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,876 ▲90 | 13.80 ▼0.45 | 8.19 ▲6.23 | 40.17 ▼5.27 |
Dashboard /wp-admin | 2,202 ▲22 | 5.56 ▼0.14 | 88.93 ▼10.06 | 41.90 ▼9.09 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.98 ▼0.17 | 39.40 ▼0.26 | 37.17 ▼2.03 |
Add New Post /wp-admin/post-new.php | 1,529 ▼6 | 23.25 ▲5.03 | 678.32 ▲57.62 | 63.57 ▼2.57 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.23 ▲0.03 | 97.94 ▼2.81 | 43.63 ▼2.56 |
Popup dropping box /wp-admin/options-general.php?page=popup-dropping-box | 907 | 2.00 | 26.10 | 27.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
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
Good news, no errors were detected
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
Almost there! Just fix the following items
- 4× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/popup-dropping-box/pages/image-management-add.php
- > /wp-content/plugins/popup-dropping-box/pages/image-management-edit.php
- > /wp-content/plugins/popup-dropping-box/pages/image-management-show.php
- > /wp-content/plugins/popup-dropping-box/popup-dropping-box.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: pop up, widget, popup, plugin, dropping
popup-dropping-box/popup-dropping-box.php 92% from 13 tests
"Popup dropping box" version 1.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 228 characters long)
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
There were no executable files found in this plugin2,123 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 152 | 87 | 1,046 |
PHP | 7 | 152 | 21 | 946 |
PO File | 1 | 58 | 93 | 131 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 12.67 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 20 | |
▷ Static methods | 19 | 95.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 compressed PNG files occupy 0.01MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/color/hs.png | 2.62KB | 7.54KB | 0.00% |
inc/color/hv.png | 2.80KB | 7.32KB | 0.00% |