Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼6.38ms] Passed 4 tests
A check of server-side resources used by ITRO Popup Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.18 | 37.69 ▼11.11 |
Dashboard /wp-admin | 3.48 ▲0.13 | 47.19 ▼14.34 |
Posts /wp-admin/edit.php | 3.60 ▲0.23 | 45.22 ▲2.50 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 83.94 ▼2.55 |
Media Library /wp-admin/upload.php | 3.41 ▲0.17 | 35.07 ▲3.54 |
ITRO Popup /wp-admin/options-general.php?page=itro-popup/admin/popup-admin.php | 3.72 | 72.44 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 45 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_itro_plugin_option |
wp_itro_plugin_field |
New WordPress options |
---|
itro_curr_ver |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by ITRO Popup Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,887 ▲152 | 13.80 ▼0.56 | 8.10 ▲6.49 | 44.08 ▲1.66 |
Dashboard /wp-admin | 2,215 ▲47 | 5.71 ▲0.13 | 87.58 ▼4.64 | 41.21 ▲0.66 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.48 ▲0.50 | 33.96 ▼4.58 | 31.82 ▼7.01 |
Add New Post /wp-admin/post-new.php | 1,543 ▲14 | 23.19 ▼0.07 | 685.02 ▲34.63 | 40.46 ▼9.03 |
Media Library /wp-admin/upload.php | 1,430 ▲36 | 4.30 ▲0.13 | 98.30 ▼2.61 | 41.63 ▼5.04 |
ITRO Popup /wp-admin/options-general.php?page=itro-popup/admin/popup-admin.php | 2,430 | 6.76 | 144.38 | 111.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure failed, leaving 2 tables in the database
- wp_itro_plugin_field
- wp_itro_plugin_option
- This plugin did not uninstall successfully, leaving 7 options in the database
- itro_curr_ver
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
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
Even though no errors were found, this is by no means an exhaustive test
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 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: Screenshot #1 (The screenshot description corresponds to screenshot-1.(png|jpg|jpeg|gif).) image missing
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
itro-popup/mc-main.php 85% from 13 tests
The main PHP script in "ITRO Popup Plugin" version 5.2.6 is automatically included on every request by WordPress
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 296 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("itro-popup.php" instead of "mc-main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected3,828 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 198 | 170 | 1,711 |
PO File | 5 | 510 | 684 | 1,062 |
JavaScript | 3 | 167 | 100 | 967 |
CSS | 1 | 8 | 4 | 59 |
JSON | 1 | 0 | 0 | 20 |
HTML | 1 | 3 | 0 | 9 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
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 | 29 | |
▷ Named functions | 29 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
8 PNG files occupy 0.06MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/question_mark.png | 0.44KB | 0.47KB | 0.00% |
images/coffee.png | 6.52KB | 3.59KB | ▼ 44.97% |
scripts/jscolor/hs.png | 2.62KB | 7.54KB | 0.00% |
scripts/jscolor/hv.png | 2.80KB | 7.32KB | 0.00% |
images/5_stars.png | 26.56KB | 9.24KB | ▼ 65.21% |