Benchmarks
Plugin footprint 65% 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.91MB] [CPU: ▼32.05ms] Passed 4 tests
A check of server-side resources used by Exit Intent Popups & Promo Bars by MaxTraffic
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.22 ▼3.68 |
Dashboard /wp-admin | 3.04 ▼0.27 | 23.42 ▼19.52 |
Posts /wp-admin/edit.php | 3.04 ▼0.32 | 24.96 ▼26.63 |
Add New Post /wp-admin/post-new.php | 3.04 ▼2.85 | 24.81 ▼72.81 |
Media Library /wp-admin/upload.php | 3.04 ▼0.19 | 24.73 ▼9.25 |
Create /wp-admin/admin.php?page=maxtraffic-create-account | 3.04 | 22.84 |
Logout /wp-admin/admin.php?page=maxtraffic-logout | 3.04 | 25.48 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Exit Intent Popups & Promo Bars by MaxTraffic: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲39 | 14.34 ▼0.01 | 1.74 ▲0.08 | 42.55 ▼3.23 |
Dashboard /wp-admin | 2,206 ▲26 | 5.55 ▼0.11 | 82.47 ▼15.93 | 57.06 ▲14.24 |
Posts /wp-admin/edit.php | 2,114 ▲14 | 1.97 ▼0.04 | 33.55 ▼8.39 | 35.24 ▼0.37 |
Add New Post /wp-admin/post-new.php | 1,551 ▲25 | 23.08 ▼0.39 | 755.98 ▲88.57 | 61.29 ▲5.10 |
Media Library /wp-admin/upload.php | 1,414 ▲17 | 4.19 ▼0.06 | 92.25 ▼7.45 | 71.62 ▲28.52 |
Create /wp-admin/admin.php?page=maxtraffic-create-account | 841 | 2.03 | 23.59 | 25.39 |
Logout /wp-admin/admin.php?page=maxtraffic-logout | 870 | 2.12 | 24.20 | 25.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5453
Function add_object_page is deprecated since version 4.5.0! Use add_menu_page() instead.
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=maxtraffic-logout
- > User deprecated in wp-includes/functions.php+5453
Function add_object_page is deprecated since version 4.5.0! Use add_menu_page() instead.
- > GET request to /wp-admin/admin.php?page=maxtraffic-logout
- > Notice in wp-content/plugins/exit-intent-pop-ups-by-maxtraffic/maxtraffic.php+343
Undefined index: _wpnonce
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
Everything seems fine, however this is by no means an exhaustive test
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 errors were detected
Optimizations
Plugin configuration 93% 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: There are too many tags (16 tag instead of maximum 10)
exit-intent-pop-ups-by-maxtraffic/maxtraffic.php 92% from 13 tests
The main PHP script in "Exit Intent Popups & Promo Bars by MaxTraffic" version 1.1 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("exit-intent-pop-ups-by-maxtraffic.php" instead of "maxtraffic.php")
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
There were no executable files found in this plugin422 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 115 | 34 | 422 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
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 | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
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 |
assets/maxtraffic-icon.png | 1.40KB | 0.47KB | ▼ 66.62% |