Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.20ms] Passed 4 tests
Server-side resources used by shimi ads popup
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.87 ▼0.44 |
Dashboard /wp-admin | 3.31 ▲0.01 | 52.12 ▲1.27 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 50.06 ▲2.04 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 85.44 ▼15.19 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 36.96 ▲1.56 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 11 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
shi-pop-btn-close |
shi-pop-active |
theysaidso_admin_options |
widget_theysaidso_widget |
shi-pop-img |
shi-pop-link |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
shimi ads popup: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲22 | 14.72 ▲0.23 | 1.59 ▼0.11 | 42.39 ▲1.71 |
Dashboard /wp-admin | 2,207 ▲27 | 5.63 ▼0.04 | 84.63 ▼13.70 | 38.87 ▼2.30 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 1.95 ▼0.02 | 37.49 ▼1.57 | 31.69 ▼5.79 |
Add New Post /wp-admin/post-new.php | 1,538 ▲1 | 21.12 ▲2.73 | 614.48 ▼13.71 | 41.67 ▼28.38 |
Media Library /wp-admin/upload.php | 1,409 ▲15 | 4.09 ▼0.08 | 101.05 ▼61.42 | 46.90 ▼5.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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/shimi-ads-popup/shi-popup-plugins.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Stable tag: No string
shimi-ads-popup/shi-popup-plugins.php 92% from 13 tests
The principal PHP file in "shimi ads popup" v. 1.0 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("shimi-ads-popup.php" instead of "shi-popup-plugins.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin301 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 10 | 17 | 183 |
JavaScript | 1 | 20 | 33 | 84 |
CSS | 1 | 1 | 0 | 34 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
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 | 6 | |
▷ Named functions | 6 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/ico_close.png | 3.76KB | 2.49KB | ▼ 33.74% |