Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼0.54ms] Passed 4 tests
This is a short check of server-side resources used by Cool fade popup
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 45.52 ▲0.29 |
Dashboard /wp-admin | 3.32 ▲0.02 | 55.61 ▲5.97 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 50.02 ▼2.68 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 91.64 ▲0.33 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 38.89 ▼0.10 |
Cool fade popup /wp-admin/options-general.php?page=cool-fade-popup | 3.29 | 35.30 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 23 new files
Database: 1 new table, 16 new options
New tables |
---|
wp_popupfadpopup |
New WordPress options |
---|
PopUpFad_On_Homepage |
theysaidso_admin_options |
PopUpFad_On_Archives |
PopUpFad_Session |
widget_recent-posts |
PopUpFad_nopopup |
PopUpFad_Random |
widget_theysaidso_widget |
PopUpFad_On_Pages |
PopUpFad_On_Posts |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Cool fade popup
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.72 ▲0.54 | 2.11 ▼0.02 | 44.36 ▲1.73 |
Dashboard /wp-admin | 2,202 ▲28 | 5.59 ▼0.02 | 91.58 ▼6.52 | 37.97 ▼1.18 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.02 ▲0.07 | 39.04 ▼1.60 | 36.33 ▲1.19 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 21.60 ▼1.61 | 645.53 ▼50.68 | 62.63 ▲10.32 |
Media Library /wp-admin/upload.php | 1,401 ▲10 | 4.20 ▲0.02 | 103.45 ▼0.33 | 45.27 ▼2.53 |
Cool fade popup /wp-admin/options-general.php?page=cool-fade-popup | 947 | 2.14 | 22.40 | 26.39 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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
Almost there! Just fix the following items
- 5× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/cool-fade-popup/pages/content-management-edit.php
- > /wp-content/plugins/cool-fade-popup/pages/content-management-show.php
- > /wp-content/plugins/cool-fade-popup/cool-fade-popup.php
- > /wp-content/plugins/cool-fade-popup/pages/content-management-add.php
- > /wp-content/plugins/cool-fade-popup/pages/widget-setting.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)
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
10 plugin tags: fade in, unblockable, offers, advertisment, popups...
cool-fade-popup/cool-fade-popup.php 92% from 13 tests
The primary PHP file in "Cool fade popup" version 10.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 208 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin1,819 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 99 | 40 | 946 |
PO File | 5 | 326 | 480 | 759 |
JavaScript | 2 | 13 | 20 | 78 |
CSS | 1 | 5 | 3 | 36 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 3.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 | 2 | |
▷ Static methods | 2 | 100.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/gopiplus.com-popup.png | 1.41KB | 1.31KB | ▼ 7.34% |