Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲2.96MB] [CPU: ▲16.83ms] Passed 4 tests
This is a short check of server-side resources used by Popup by Supsystic
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.31 ▲2.85 | 65.30 ▲23.87 |
Dashboard /wp-admin | 6.34 ▲2.99 | 72.73 ▲11.74 |
Posts /wp-admin/edit.php | 6.39 ▲3.03 | 71.27 ▲24.55 |
Add New Post /wp-admin/post-new.php | 8.87 ▲2.98 | 101.90 ▲7.17 |
Media Library /wp-admin/upload.php | 6.25 ▲3.02 | 78.31 ▲45.59 |
PopUp by Supsystic /wp-admin/admin.php?page=popup-wp-supsystic | 6.27 | 79.09 |
Overview /wp-admin/admin.php?page=popup-wp-supsystic&tab=overview | 6.42 | 81.36 |
Show All PopUps /wp-admin/admin.php?page=popup-wp-supsystic&tab=popup | 6.77 | 78.31 |
Add New PopUp /wp-admin/admin.php?page=popup-wp-supsystic&tab=popup_add_new | 7.06 | 82.07 |
Settings /wp-admin/admin.php?page=popup-wp-supsystic&tab=settings | 6.43 | 68.40 |
Server storage [IO: ▲19.64MB] [DB: ▲0.57MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 735 new files
Database: 9 new tables, 15 new options
New tables |
---|
wp_pps_statistics |
wp_pps_countries |
wp_pps_modules_type |
wp_pps_usage_stat |
wp_pps_popup_show_categories |
wp_pps_popup |
wp_pps_modules |
wp_pps_subscribers |
wp_pps_popup_show_pages |
New WordPress options |
---|
pps_plugin_activation_errors |
pps_plug_was_used |
theysaidso_admin_options |
pps_txt_files_css_updated |
db_upgraded |
wp_pps_db_installed |
pps_opts_data |
widget_theysaidso_widget |
pps_stats_recalculated |
pps_txt_files_css_updated_2 |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Popup by Supsystic
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,849 ▲103 | 14.35 ▲0.09 | 1.88 ▲0.36 | 43.35 ▲2.22 |
Dashboard /wp-admin | 2,249 ▲69 | 5.78 ▲0.11 | 94.94 ▼3.62 | 42.10 ▼2.25 |
Posts /wp-admin/edit.php | 2,157 ▲54 | 2.24 ▲0.23 | 34.94 ▼10.59 | 28.96 ▼5.95 |
Add New Post /wp-admin/post-new.php | 2,009 ▲483 | 22.38 ▼0.80 | 654.12 ▲25.15 | 29.45 ▼19.76 |
Media Library /wp-admin/upload.php | 1,457 ▲60 | 4.44 ▲0.27 | 108.09 ▲5.81 | 42.33 ▼0.44 |
PopUp by Supsystic /wp-admin/admin.php?page=popup-wp-supsystic | 2,041 | 10.11 | 309.84 | 126.54 |
Overview /wp-admin/admin.php?page=popup-wp-supsystic&tab=overview | 3,149 | 17.45 | 548.49 | 98.41 |
Show All PopUps /wp-admin/admin.php?page=popup-wp-supsystic&tab=popup | 2,133 | 5.47 | 89.94 | 102.01 |
Add New PopUp /wp-admin/admin.php?page=popup-wp-supsystic&tab=popup_add_new | 2,820 | 4.12 | 76.83 | 190.14 |
Settings /wp-admin/admin.php?page=popup-wp-supsystic&tab=settings | 2,297 | 4.93 | 74.96 | 88.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.57MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie tables detected upon uninstall: 3 tables
- wp_pps_popup_show_categories
- wp_pps_popup
- wp_pps_countries
- Zombie WordPress options detected upon uninstall: 13 options
- pps_plugin_activation_errors
- pps_txt_files_css_updated
- widget_recent-posts
- pps_txt_files_css_updated_2
- can_compress_scripts
- pps_stats_recalculated
- pps_last_check_love_link
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- ...
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 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
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/popup-by-supsystic/modules/supsystic_promo/views/tpl/adminFooter.php
- 227× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Twig_Node_Print' not found in wp-content/plugins/popup-by-supsystic/classes/Twig/Node/SandboxedPrint.php:22
- > PHP Fatal error
Uncaught Error: Class 'Twig_Node_Expression_Binary' not found in wp-content/plugins/popup-by-supsystic/classes/Twig/Node/Expression/Binary/Sub.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Twig_TokenParserBrokerInterface' not found in wp-content/plugins/popup-by-supsystic/classes/Twig/TokenParserBroker.php:19
- > PHP Fatal error
Uncaught Error: Class 'Twig_Node_Expression_Binary' not found in wp-content/plugins/popup-by-supsystic/classes/Twig/Node/Expression/Binary/Equal.php:11
- > PHP Fatal error
Uncaught Error: Class 'Twig_Node' not found in wp-content/plugins/popup-by-supsystic/classes/Twig/Node/AutoEscape.php:23
- > PHP Fatal error
Uncaught Error: Class 'Twig_Node_Expression_Unary' not found in wp-content/plugins/popup-by-supsystic/classes/Twig/Node/Expression/Unary/Pos.php:12
- > PHP Fatal error
Uncaught Error: Class 'Twig_TokenParser' not found in wp-content/plugins/popup-by-supsystic/classes/Twig/TokenParser/Do.php:15
- > PHP Fatal error
Uncaught Error: Class 'Twig_Node' not found in wp-content/plugins/popup-by-supsystic/classes/Twig/Node/BlockReference.php:18
- > PHP Fatal error
Uncaught Error: Class 'modelPps' not found in wp-content/plugins/popup-by-supsystic/modules/supsystic_promo/models/supsystic_promo.php:2
- > PHP Warning
Use of undefined constant PPS_PLUGINS_URL - assumed 'PPS_PLUGINS_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/popup-by-supsystic/modules/supsystic_promo/views/tpl/overviewTabContent.php on line 3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=popup-wp-supsystic&tab=popup_add_new
- > Network (severe)
wp-content/plugins/popup-by-supsystic/assets/css/magic.min.css?ver=1.10.25 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: pop-up, popup builder, social popup, popover, popup maker...
popup-by-supsystic/pps.php 85% from 13 tests
The main file in "Popup by Supsystic" v. 1.10.25 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("popup-by-supsystic.php" instead of "pps.php")
- Description: The description should be shorter than 140 characters (currently 141 characters long)
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
Good job! No executable or dangerous file extensions detected90,926 lines of code in 442 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 15 | 14,152 | 20,420 | 43,909 |
PHP | 286 | 3,048 | 9,270 | 27,629 |
JavaScript | 101 | 404 | 1,851 | 12,322 |
CSS | 39 | 213 | 326 | 4,395 |
SVG | 1 | 0 | 0 | 2,671 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 17.42 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 426.00 |
Average method complexity | 3.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 87.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 19 | |
Traits | 0 | |
Classes | 239 | |
▷ Abstract classes | 19 | 7.95% |
▷ Concrete classes | 220 | 92.05% |
▷ Final classes | 0 | 0.00% |
Methods | 1,861 | |
▷ Static methods | 281 | 15.10% |
▷ Public methods | 1,622 | 87.16% |
▷ Protected methods | 174 | 9.35% |
▷ Private methods | 65 | 3.49% |
Functions | 85 | |
▷ Named functions | 81 | 95.29% |
▷ Anonymous functions | 4 | 4.71% |
Constants | 136 | |
▷ Global constants | 81 | 59.56% |
▷ Class constants | 55 | 40.44% |
▷ Public constants | 55 | 100.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
208 compressed PNG files occupy 7.16MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/popup/img/preview/nature.png | 32.18KB | 34.29KB | 0.00% |
assets/popup/img/assets/close_btns/close-red-in-circle.png | 0.48KB | 0.49KB | 0.00% |
assets/popup/img/preview/x-mas-sale.png | 14.89KB | 15.47KB | 0.00% |
assets/popup/img/assets/classy/bullet__blue.png | 0.33KB | 0.33KB | 0.00% |
modules/sm/img/Googleplus-boxy.png | 2.30KB | 1.96KB | ▼ 14.75% |