Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲3.35MB] [CPU: ▲23.71ms] 75% from 4 tests
Analyzing server-side resources used by Popup Plugin – On Page Load Popup, Exit Popup, Login Popup, On Click, Sticky Bar, Anti-AdBlock – FireBox
The following require your attention
- RAM: Try to keep total memory usage under 10MB (currently 16.16MB on /wp-admin/post-new.php?post_type=firebox)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.49 ▲3.02 | 58.75 ▲20.24 |
Dashboard /wp-admin | 6.77 ▲3.42 | 72.48 ▲12.40 |
Posts /wp-admin/edit.php | 6.83 ▲3.47 | 75.07 ▲27.81 |
Add New Post /wp-admin/post-new.php | 15.31 ▲9.43 | 142.87 ▲42.70 |
Media Library /wp-admin/upload.php | 6.69 ▲3.46 | 66.07 ▲34.40 |
Import /wp-admin/admin.php?page=firebox-import | 6.98 | 64.34 |
Campaigns /wp-admin/admin.php?page=firebox-campaigns | 6.93 | 65.52 |
New Campaign /wp-admin/post-new.php?post_type=firebox | 16.16 | 208.81 |
Analytics /wp-admin/admin.php?page=firebox-analytics | 6.81 | 68.01 |
Settings /wp-admin/admin.php?page=firebox-settings | 7.05 | 78.39 |
Submissions /wp-admin/admin.php?page=firebox-submissions | 7.01 | 61.38 |
Overview /wp-admin/admin.php?page=firebox | 6.81 | 58.82 |
Server storage [IO: ▲6.36MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 2,208 new files
Database: 4 new tables, 9 new options
New tables |
---|
wp_firebox_submission_meta |
wp_firebox_logs_details |
wp_firebox_submissions |
wp_firebox_logs |
New WordPress options |
---|
firebox_version |
firebox_settings |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_firebox_add_button_widget |
Browser metrics Passed 4 tests
Popup Plugin – On Page Load Popup, Exit Popup, Login Popup, On Click, Sticky Bar, Anti-AdBlock – FireBox: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,919 ▲172 | 14.34 ▼0.34 | 1.56 ▼0.25 | 37.68 ▼5.67 |
Dashboard /wp-admin | 2,298 ▲127 | 5.53 ▼0.10 | 95.38 ▼5.82 | 83.17 ▲36.91 |
Posts /wp-admin/edit.php | 2,275 ▲175 | 1.99 ▼0.03 | 37.92 ▲1.28 | 43.41 ▲7.92 |
Add New Post /wp-admin/post-new.php | 1,907 ▲381 | 28.84 ▲5.66 | 795.16 ▲139.82 | 146.55 ▲88.17 |
Media Library /wp-admin/upload.php | 1,503 ▲100 | 4.12 ▼0.07 | 102.96 ▲2.61 | 86.39 ▲46.21 |
Import /wp-admin/admin.php?page=firebox-import | 1,709 | 3.10 | 51.35 | 104.17 |
Campaigns /wp-admin/admin.php?page=firebox-campaigns | 2,449 | 1.85 | 28.90 | 41.68 |
New Campaign /wp-admin/post-new.php?post_type=firebox | 12,088 | 25.33 | 1,105.85 | 215.99 |
Analytics /wp-admin/admin.php?page=firebox-analytics | 2,594 | 3.72 | 76.02 | 59.15 |
Settings /wp-admin/admin.php?page=firebox-settings | 2,923 | 1.85 | 37.40 | 54.79 |
Submissions /wp-admin/admin.php?page=firebox-submissions | 2,491 | 1.71 | 28.10 | 44.62 |
Overview /wp-admin/admin.php?page=firebox | 2,487 | 3.45 | 62.85 | 46.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The plugin did not uninstall successfully, leaving 4 tables in the database
- wp_firebox_submission_meta
- wp_firebox_submissions
- wp_firebox_logs_details
- wp_firebox_logs
- Zombie WordPress options were found after uninstall: 9 options
- widget_recent-comments
- can_compress_scripts
- firebox_settings
- widget_recent-posts
- db_upgraded
- firebox_version
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_firebox_add_button_widget
Smoke tests 50% 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 50% 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
The following issues need your attention
- 33× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'GeoIp2\\Model\\Country' not found in wp-content/plugins/firebox/Inc/Framework/Inc/Libs/Vendors/geoip2/geoip2/src/Model/City.php:57
- > PHP Fatal error
Uncaught Error: Class 'FPFramework\\Libs\\Vendors\\AbstractRegistryFormat' not found in wp-content/plugins/firebox/Inc/Framework/Inc/Libs/Vendors/Format/Ini.php:18
- > PHP Fatal error
Uncaught Error: Class 'GeoIp2\\Record\\AbstractPlaceRecord' not found in wp-content/plugins/firebox/Inc/Framework/Inc/Libs/Vendors/geoip2/geoip2/src/Record/Country.php:30
- > PHP Fatal error
Uncaught Error: Class 'GeoIp2\\Exception\\GeoIp2Exception' not found in wp-content/plugins/firebox/Inc/Framework/Inc/Libs/Vendors/geoip2/geoip2/src/Exception/OutOfQueriesException.php:8
- > PHP Fatal error
Uncaught Error: Class 'GeoIp2\\Model\\AbstractModel' not found in wp-content/plugins/firebox/Inc/Framework/Inc/Libs/Vendors/geoip2/geoip2/src/Model/ConnectionType.php:16
- > PHP Fatal error
Uncaught Error: Class 'GeoIp2\\Model\\City' not found in wp-content/plugins/firebox/Inc/Framework/Inc/Libs/Vendors/geoip2/geoip2/src/Model/Insights.php:54
- > PHP Fatal error
Uncaught Error: Interface 'GeoIp2\\ProviderInterface' not found in wp-content/plugins/firebox/Inc/Framework/Inc/Libs/Vendors/geoip2/geoip2/src/Database/Reader.php:35
- > PHP Fatal error
Uncaught Error: Class 'MaxMind\\Exception\\WebServiceException' not found in wp-content/plugins/firebox/Inc/Framework/Inc/Libs/Vendors/maxmind/web-service-common/src/Exception/InvalidInputException.php:10
- > PHP Fatal error
Uncaught Error: Class 'GeoIp2\\Model\\City' not found in wp-content/plugins/firebox/Inc/Framework/Inc/Libs/Vendors/geoip2/geoip2/src/Model/Enterprise.php:54
- > PHP Fatal error
Uncaught Error: Class 'MaxMind\\Exception\\InvalidRequestException' not found in wp-content/plugins/firebox/Inc/Framework/Inc/Libs/Vendors/maxmind/web-service-common/src/Exception/InsufficientFundsException.php:8
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/post-new.php?post_type=firebox
- > Console-api (warning) in wp-includes/js/dist/deprecated.min.js?ver=73ad3591e7bc95f4777a+1:627
Using custom components as toolbar controls is deprecated since version 5.6. Please use ToolbarItem, ToolbarButton or ToolbarDropdownMenu components instead. See: https://developer.wordpress.org/block-editor/components/toolbar-button/#inside-blockcontrols
- > GET request to /wp-admin/admin.php?page=firebox-analytics
- > Intervention (severe) in unknown
/wp-admin/post-new.php?post_type=firebox - Blocked attempt to show a 'beforeunload' confirmation panel for a frame that never had a user gesture since its load. https://www.chromestatus.com/feature/5082396709879808
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
firebox/firebox.php Passed 13 tests
The main PHP script in "Popup Plugin – On Page Load Popup, Exit Popup, Login Popup, On Click, Sticky Bar, Anti-AdBlock – FireBox" version 2.1.1 is automatically included on every request by WordPress
96 characters long description:
WordPress Popup and leads generation plugin that converts visitors into subscribers & customers.
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
Everything looks great! No dangerous files found in this plugin44,017 lines of code in 1,826 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 597 | 8,411 | 19,133 | 39,898 |
CSS | 56 | 464 | 10 | 1,429 |
SVG | 1,084 | 0 | 0 | 1,129 |
Markdown | 7 | 309 | 0 | 709 |
C | 1 | 73 | 15 | 477 |
JSON | 4 | 5 | 0 | 126 |
JavaScript | 68 | 46 | 49 | 96 |
SQL | 2 | 0 | 3 | 58 |
Bourne Shell | 1 | 13 | 22 | 28 |
XML | 2 | 0 | 0 | 26 |
YAML | 1 | 0 | 0 | 18 |
m4 | 1 | 5 | 0 | 14 |
C/C++ Header | 1 | 4 | 12 | 8 |
HTML | 1 | 0 | 0 | 1 |
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.47 |
Average class complexity | 9.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 134.00 |
Average method complexity | 3.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 77.00 |
Code structure | ||
---|---|---|
Namespaces | 85 | |
Interfaces | 8 | |
Traits | 4 | |
Classes | 447 | |
▷ Abstract classes | 17 | 3.80% |
▷ Concrete classes | 430 | 96.20% |
▷ Final classes | 3 | 0.70% |
Methods | 1,790 | |
▷ Static methods | 253 | 14.13% |
▷ Public methods | 1,338 | 74.75% |
▷ Protected methods | 180 | 10.06% |
▷ Private methods | 272 | 15.20% |
Functions | 50 | |
▷ Named functions | 13 | 26.00% |
▷ Anonymous functions | 37 | 74.00% |
Constants | 89 | |
▷ Global constants | 32 | 35.96% |
▷ Class constants | 57 | 64.04% |
▷ Public constants | 57 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
263 compressed PNG files occupy 0.13MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Inc/Framework/media/admin/images/flags/gp.png | 1.12KB | 1.14KB | 0.00% |
Inc/Framework/media/admin/images/flags/ky.png | 0.95KB | 0.96KB | 0.00% |
Inc/Framework/media/admin/images/flags/sc.png | 0.48KB | 0.48KB | 0.00% |
Inc/Framework/media/admin/images/flags/tr.png | 0.37KB | 0.37KB | 0.27% |
Inc/Framework/media/admin/images/flags/cw.png | 0.26KB | 0.26KB | 0.00% |