Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.86ms] Passed 4 tests
An overview of server-side resources used by Anything Popup
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.88 ▼1.20 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.90 ▼4.13 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.36 ▼0.41 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 88.51 ▼1.70 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.04 ▲1.92 |
Anything Popup /wp-admin/options-general.php?page=anything-popup | 3.29 | 33.19 |
Server storage [IO: ▲0.11MB] [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: 18 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_AnythingPopup |
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
pop_id |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Anything Popup
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 14.82 ▲0.24 | 1.80 ▲0.04 | 43.89 ▼2.62 |
Dashboard /wp-admin | 2,210 ▲25 | 4.80 ▼1.06 | 107.90 ▼11.55 | 39.82 ▼3.89 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.00 ▲0.00 | 39.89 ▲1.03 | 35.90 ▲1.18 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.48 ▲0.21 | 680.34 ▲63.89 | 57.72 ▲2.60 |
Media Library /wp-admin/upload.php | 1,389 ▼2 | 4.39 ▲0.17 | 94.71 ▼2.95 | 43.00 ▼2.03 |
Anything Popup /wp-admin/options-general.php?page=anything-popup | 897 | 2.06 | 24.44 | 24.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 4× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/anything-popup/pages/content-management-show.php
- > /wp-content/plugins/anything-popup/anything-popup.php
- > /wp-content/plugins/anything-popup/pages/content-management-add.php
- > /wp-content/plugins/anything-popup/pages/content-management-edit.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
2 plugin tags: contact, popup
anything-popup/anything-popup.php Passed 13 tests
This is the main PHP file of "Anything Popup" version 7.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
140 characters long description:
This is a simple plugin to display the entered content in to unblockable popup window. popup will open by clicking the text or image button.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin2,054 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 180 | 57 | 1,018 |
PHP | 5 | 93 | 34 | 785 |
PO File | 2 | 113 | 216 | 251 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 compressed PNG files occupy 0.01MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
pages/color/hs.png | 2.62KB | 7.54KB | 0.00% |
button.png | 3.12KB | 2.08KB | ▼ 33.15% |
pages/color/hv.png | 2.80KB | 7.32KB | 0.00% |