Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.49MB] [CPU: ▼1.20ms] Passed 4 tests
Server-side resources used by Popup Anything - Popup for opt-ins and Lead Generation Conversions
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.96 ▲0.50 | 45.48 ▲3.48 |
Dashboard /wp-admin | 3.84 ▲0.49 | 50.14 ▼13.62 |
Posts /wp-admin/edit.php | 3.89 ▲0.53 | 54.85 ▲6.71 |
Add New Post /wp-admin/post-new.php | 6.38 ▲0.49 | 99.62 ▲1.85 |
Media Library /wp-admin/upload.php | 3.70 ▲0.47 | 37.62 ▲3.50 |
Server storage [IO: ▲2.37MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 100 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
wpos_anylc_site_uid |
theysaidso_admin_options |
popupaoc_plugin_version |
popupaoc_options |
wpos_anylc_redirect |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Popup Anything - Popup for opt-ins and Lead Generation Conversions
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,652 ▼1,095 | 10.63 ▼4.02 | 5.81 ▲4.19 | 17.11 ▼27.07 |
Dashboard /wp-admin | 2,221 ▲41 | 5.56 ▼0.11 | 95.27 ▲2.02 | 51.67 ▲8.96 |
Posts /wp-admin/edit.php | 2,125 ▲25 | 2.03 ▲0.08 | 40.28 ▲1.88 | 37.03 ▲2.91 |
Add New Post /wp-admin/post-new.php | 6,266 ▲4,737 | 21.71 ▼1.89 | 893.64 ▲247.53 | 33.98 ▼16.44 |
Media Library /wp-admin/upload.php | 1,425 ▲25 | 4.25 ▲0.05 | 104.71 ▲7.31 | 40.45 ▲0.68 |
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
- The uninstall procedure has failed, leaving 10 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- popupaoc_options
- theysaidso_admin_options
- wpos_anylc_site_uid
- widget_theysaidso_widget
- wpos_anylc_redirect
- popupaoc_plugin_version
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: There are too many tags (16 tag instead of maximum 10)
- Screenshots: No descriptions were found for these screenshots #5, #6, #7 in popup-anything-on-click/assets to your readme.txt
popup-anything-on-click/popup-anything-on-click.php Passed 13 tests
Analyzing the main PHP file in "Popup Anything - Popup for opt-ins and Lead Generation Conversions" version 2.8
116 characters long description:
Display a modal popup on a page load or by clicking link, image or button. Also work with Gutenberg shortcode block.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin9,530 lines of code in 64 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 50 | 1,149 | 1,314 | 5,615 |
SVG | 1 | 0 | 0 | 2,671 |
JavaScript | 7 | 240 | 241 | 808 |
CSS | 6 | 60 | 45 | 436 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 29.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 5.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 1 | 14.29% |
Methods | 44 | |
▷ Static methods | 1 | 2.27% |
▷ Public methods | 42 | 95.45% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 4.55% |
Functions | 66 | |
▷ Named functions | 66 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 17 | |
▷ Global constants | 17 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
28 PNG files occupy 0.57MB with 0.36MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/page-builder-icon.png | 40.77KB | 11.61KB | ▼ 71.53% |
assets/images/geo-location.png | 20.37KB | 8.94KB | ▼ 56.13% |
assets/images/model-popup.png | 13.19KB | 5.58KB | ▼ 57.68% |
assets/images/wpos-team.png | 171.41KB | 48.35KB | ▼ 71.79% |
assets/images/popup-icon/a-b-testing-popup.png | 10.38KB | 4.11KB | ▼ 60.43% |