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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼143.09ms] Passed 4 tests
An overview of server-side resources used by Sticky Popup
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 37.00 ▲14.03 |
Dashboard /wp-admin | 3.07 ▲0.01 | 40.41 ▼7.93 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 41.84 ▼0.31 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 93.56 ▼559.72 |
Media Library /wp-admin/upload.php | 3.01 ▲0.00 | 34.73 ▼4.38 |
Sticky Popup /wp-admin/options-general.php?page=sticky_popup | 3.05 | 37.85 |
Server storage [IO: ▲0.06MB] [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: 9 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Sticky Popup
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,718 ▲124 | 15.93 ▲0.30 | 9.87 ▲0.82 | 50.14 ▲3.22 |
Dashboard /wp-admin | 2,972 ▲38 | 5.94 ▼0.16 | 131.50 ▼9.00 | 111.75 ▼2.92 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▲0.00 | 63.56 ▲0.38 | 92.30 ▲7.10 |
Add New Post /wp-admin/post-new.php | 1,686 ▲188 | 18.71 ▼0.10 | 388.85 ▲25.92 | 108.01 ▼8.50 |
Media Library /wp-admin/upload.php | 1,815 ▲8 | 5.04 ▲0.00 | 145.80 ▲2.93 | 118.57 ▼4.51 |
Sticky Popup /wp-admin/options-general.php?page=sticky_popup | 2,787 | 8.83 | 200.45 | 169.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 21 tag instead of maximum 10
sticky-popup/sticky-popup.php Passed 13 tests
The entry point to "Sticky Popup" version 1.2 is a PHP file that has certain tags in its header comment area
128 characters long description:
Sticky Popup is a simple and easy wordpress plugin used to add popup on CSS3 animations. Show html code and shortcodes in popup.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,053 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 93 | 237 | 601 |
CSS | 2 | 20 | 6 | 397 |
JavaScript | 3 | 16 | 7 | 55 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 60.00 |
▷ Minimum class complexity | 60.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 5.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.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 | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 14 | 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 | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/numix_post_slider.png | 8.27KB | 3.95KB | ▼ 52.26% |