Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.44MB] [CPU: ▲2.25ms] Passed 4 tests
Server-side resources used by Lisa Popup
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.29 | 41.41 ▲2.22 |
Dashboard /wp-admin | 3.82 ▲0.52 | 49.92 ▲2.60 |
Posts /wp-admin/edit.php | 3.84 ▲0.49 | 52.94 ▲7.60 |
Add New Post /wp-admin/post-new.php | 6.41 ▲0.53 | 94.73 ▼1.63 |
Media Library /wp-admin/upload.php | 3.68 ▲0.45 | 38.93 ▲5.80 |
Add New popup /wp-admin/post-new.php?post_type=fpopup | 4.01 | 43.07 |
Lisa Popup /wp-admin/edit.php?post_type=fpopup | 3.79 | 38.10 |
Server storage [IO: ▲2.76MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 359 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
recovery_mode_email_last_sent |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Lisa Popup
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,952 ▲206 | 14.21 ▼0.19 | 7.86 ▲6.10 | 38.86 ▼0.52 |
Dashboard /wp-admin | 2,241 ▲50 | 4.89 ▼1.01 | 97.98 ▼10.69 | 36.91 ▼3.11 |
Posts /wp-admin/edit.php | 2,129 ▲40 | 2.06 ▲0.06 | 41.73 ▲4.12 | 35.28 ▲0.44 |
Add New Post /wp-admin/post-new.php | 1,544 ▲11 | 23.28 ▼0.22 | 638.06 ▼9.33 | 51.53 ▼6.53 |
Media Library /wp-admin/upload.php | 1,426 ▲35 | 4.24 ▲0.06 | 97.12 ▲2.93 | 39.92 ▼0.40 |
Add New popup /wp-admin/post-new.php?post_type=fpopup | 1,304 | 1.53 | 7.19 | 30.06 |
Lisa Popup /wp-admin/edit.php?post_type=fpopup | 1,108 | 2.00 | 33.30 | 28.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- recovery_mode_email_last_sent
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/post-new.php?post_type=fpopup
- > Compile error in wp-content/plugins/lisa-popup/inc/meta-box/lib/includes/types/CMB2_Type_Colorpicker.php+35
Declaration of CMB2_Type_Colorpicker::render() must be compatible with CMB2_Type_Text::render($args = Array)
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
Please fix the following
- 41× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/lisa-popup/inc/meta-box/lib/includes/types/CMB2_Type_Picker_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Picker_Base' not found in wp-content/plugins/lisa-popup/inc/meta-box/lib/includes/types/CMB2_Type_Text_Datetime_Timestamp.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text_Date' not found in wp-content/plugins/lisa-popup/inc/meta-box/lib/includes/types/CMB2_Type_Text_Time.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/lisa-popup/inc/meta-box/lib/includes/types/CMB2_Type_Select.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/lisa-popup/inc/meta-box/lib/includes/types/CMB2_Type_Taxonomy_Radio.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/lisa-popup/inc/meta-box/lib/includes/types/CMB2_Type_Text.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Textarea' not found in wp-content/plugins/lisa-popup/inc/meta-box/lib/includes/types/CMB2_Type_Textarea_Code.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Picker_Base' not found in wp-content/plugins/lisa-popup/inc/meta-box/lib/includes/types/CMB2_Type_Text_Date.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_File_Base' not found in wp-content/plugins/lisa-popup/inc/meta-box/lib/includes/types/CMB2_Type_File_List.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function cmb2_dir() in wp-content/plugins/lisa-popup/inc/meta-box/lib/includes/rest-api/CMB2_REST_Controller.php:4
- > PHP Fatal error
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)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
2 plugin tags: contact form 7, popup
lisa-popup/form_popup.php 92% from 13 tests
"Lisa Popup" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("lisa-popup.php" instead of "form_popup.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected46,104 lines of code in 213 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 13,782 | 17,882 | 31,544 |
PHP | 56 | 1,760 | 4,683 | 6,033 |
CSS | 14 | 1,006 | 1,038 | 4,460 |
JavaScript | 5 | 806 | 441 | 2,439 |
Sass | 13 | 238 | 25 | 1,154 |
Markdown | 5 | 171 | 0 | 474 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 16.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 141.00 |
Average method complexity | 3.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 63 | |
▷ Abstract classes | 8 | 12.70% |
▷ Concrete classes | 55 | 87.30% |
▷ Final classes | 0 | 0.00% |
Methods | 432 | |
▷ Static methods | 67 | 15.51% |
▷ Public methods | 361 | 83.56% |
▷ Protected methods | 68 | 15.74% |
▷ Private methods | 3 | 0.69% |
Functions | 43 | |
▷ Named functions | 42 | 97.67% |
▷ Anonymous functions | 1 | 2.33% |
Constants | 9 | |
▷ Global constants | 3 | 33.33% |
▷ Class constants | 6 | 66.67% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
14 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/meta-box/lib/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
inc/meta-box/lib/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
inc/meta-box/lib/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |
inc/meta-box/lib/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
inc/meta-box/lib/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |