Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.13MB] [CPU: ▼10.36ms] Passed 4 tests
A check of server-side resources used by Call To Action Popup
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 35.94 ▼7.26 |
Dashboard /wp-admin | 3.49 ▲0.14 | 44.60 ▼14.91 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 46.94 ▲3.38 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 84.57 ▼12.26 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 35.32 ▼7.01 |
Add New /wp-admin/post-new.php?post_type=ct_popup | 3.57 | 47.70 |
Settings /wp-admin/edit.php?post_type=ct_popup&page=cactus-popup-settings | 3.31 | 33.39 |
PopUps /wp-admin/edit.php?post_type=ct_popup | 3.39 | 34.51 |
Server storage [IO: ▲0.81MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 231 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Call To Action Popup
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,947 ▲201 | 13.71 ▼0.86 | 8.50 ▲6.78 | 38.57 ▼4.91 |
Dashboard /wp-admin | 2,240 ▲52 | 5.87 ▲0.01 | 104.07 ▼7.88 | 77.43 ▲32.73 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.03 ▼0.03 | 38.56 ▲2.86 | 35.88 ▲2.34 |
Add New Post /wp-admin/post-new.php | 1,553 ▲34 | 17.55 ▼5.69 | 695.48 ▲18.51 | 50.04 ▼17.15 |
Media Library /wp-admin/upload.php | 1,422 ▲40 | 4.26 ▲0.13 | 98.46 ▲2.98 | 79.49 ▲32.19 |
Add New /wp-admin/post-new.php?post_type=ct_popup | 2,444 | 7.46 | 167.55 | 112.80 |
Settings /wp-admin/edit.php?post_type=ct_popup&page=cactus-popup-settings | 921 | 2.07 | 26.52 | 62.52 |
PopUps /wp-admin/edit.php?post_type=ct_popup | 1,083 | 1.95 | 34.95 | 29.24 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
- 4× PHP files output text when accessed directly:
- > /wp-content/plugins/call-to-action-popup/includes/meta-box/inc/templates/image-advanced.php
- > /wp-content/plugins/call-to-action-popup/includes/meta-box/inc/templates/upload.php
- > /wp-content/plugins/call-to-action-popup/includes/meta-box/inc/templates/video.php
- > /wp-content/plugins/call-to-action-popup/includes/meta-box/inc/templates/media.php
- 52× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/call-to-action-popup/includes/meta-box/inc/fields/custom-html.php:5
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Object_Choice_Field' not found in wp-content/plugins/call-to-action-popup/includes/meta-box/inc/fields/post.php:5
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Walker_Base' not found in wp-content/plugins/call-to-action-popup/includes/meta-box/inc/walkers/input-list.php:7
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/call-to-action-popup/includes/meta-box/inc/fields/wysiwyg.php:6
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Choice_Field' not found in wp-content/plugins/call-to-action-popup/includes/meta-box/inc/fields/select.php:5
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Multiple_Values_Field' not found in wp-content/plugins/call-to-action-popup/includes/meta-box/inc/fields/text-list.php:6
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Text_Field' not found in wp-content/plugins/call-to-action-popup/includes/meta-box/inc/fields/key-value.php:6
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/call-to-action-popup/includes/meta-box/inc/fields/heading.php:6
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/call-to-action-popup/includes/meta-box/inc/fields/multiple-values.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Taxonomy_Field' not found in wp-content/plugins/call-to-action-popup/includes/meta-box/inc/fields/taxonomy-advanced.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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 to be fixed:
- Tags: You are using too many tags: 12 tag instead of maximum 10
- Donate link: Invalid url: ""
call-to-action-popup/cactus-popup.php 92% from 13 tests
"Call To Action Popup" version 1.0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("call-to-action-popup.php" instead of "cactus-popup.php")
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 plugin10,281 lines of code in 198 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 69 | 690 | 2,461 | 3,506 |
JavaScript | 82 | 977 | 640 | 3,334 |
CSS | 32 | 116 | 105 | 1,750 |
PO File | 14 | 634 | 709 | 1,681 |
Markdown | 1 | 9 | 0 | 10 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 7.23 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 46.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 62 | |
▷ Abstract classes | 7 | 11.29% |
▷ Concrete classes | 55 | 88.71% |
▷ Final classes | 0 | 0.00% |
Methods | 290 | |
▷ Static methods | 235 | 81.03% |
▷ Public methods | 274 | 94.48% |
▷ Protected methods | 16 | 5.52% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 |
includes/meta-box/img/jqueryui/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
includes/meta-box/img/jqueryui/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
includes/meta-box/img/jqueryui/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
includes/meta-box/img/jqueryui/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
includes/meta-box/img/jqueryui/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |