Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.45MB] [CPU: ▲2.40ms] Passed 4 tests
Analyzing server-side resources used by Popup with exit intent, scroll triggered and anchor click for opt-ins, lead gen & more
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.96 ▲0.50 | 39.64 ▲2.15 |
Dashboard /wp-admin | 3.77 ▲0.47 | 49.69 ▼0.84 |
Posts /wp-admin/edit.php | 3.82 ▲0.47 | 47.68 ▲0.27 |
Add New Post /wp-admin/post-new.php | 6.34 ▲0.45 | 97.37 ▲9.21 |
Media Library /wp-admin/upload.php | 3.63 ▲0.40 | 42.41 ▲8.00 |
Add New /wp-admin/post-new.php?post_type=popper | 6.33 | 84.99 |
Popups /wp-admin/edit.php?post_type=popper | 3.74 | 42.17 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 43 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Popup with exit intent, scroll triggered and anchor click for opt-ins, lead gen & more
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲98 | 13.24 ▼1.32 | 1.55 ▼0.38 | 42.24 ▲1.23 |
Dashboard /wp-admin | 2,230 ▲59 | 5.82 ▲0.92 | 95.64 ▼9.94 | 40.63 ▼8.24 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.01 ▼0.04 | 37.56 ▲1.32 | 31.41 ▼1.89 |
Add New Post /wp-admin/post-new.php | 6,386 ▲4,869 | 29.86 ▲12.22 | 893.62 ▲214.27 | 38.01 ▼21.17 |
Media Library /wp-admin/upload.php | 1,415 ▲24 | 4.21 ▲0.04 | 98.68 ▼5.03 | 40.13 ▼4.30 |
Add New /wp-admin/post-new.php?post_type=popper | 1,544 | 17.68 | 900.18 | 36.23 |
Popups /wp-admin/edit.php?post_type=popper | 1,128 | 1.96 | 33.02 | 28.68 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/popper/vendor/appsero/client/vendor/tareq1988/wp-php-cs-fixer/loader.php' (include_path='.:/usr/share/php') in wp-content/plugins/popper/vendor/appsero/client/.php-cs-fixer.dist.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/popper/includes/class-rest.php:13
- > PHP Warning
require_once(wp-content/plugins/popper/vendor/appsero/client/vendor/tareq1988/wp-php-cs-fixer/loader.php): failed to open stream: No such file or directory in wp-content/plugins/popper/vendor/appsero/client/.php-cs-fixer.dist.php on line 3
- > 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)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: popup builder, pop up, popup, wordpress popup block, popup maker...
popper/popper.php Passed 13 tests
The primary PHP file in "Popup with exit intent, scroll triggered and anchor click for opt-ins, lead gen & more" version 0.5.4 is used by WordPress to initiate all plugin functionality
52 characters long description:
Popup builder with exit-intent powered by Gutenberg.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected3,705 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 709 | 1,258 | 2,956 |
JSON | 11 | 0 | 0 | 329 |
Markdown | 1 | 82 | 0 | 255 |
PO File | 1 | 50 | 53 | 129 |
YAML | 1 | 6 | 0 | 32 |
CSS | 2 | 0 | 0 | 2 |
JavaScript | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 37.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 107.00 |
Average method complexity | 3.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 54.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 153 | |
▷ Static methods | 30 | 19.61% |
▷ Public methods | 116 | 75.82% |
▷ Protected methods | 6 | 3.92% |
▷ Private methods | 31 | 20.26% |
Functions | 8 | |
▷ Named functions | 7 | 87.50% |
▷ Anonymous functions | 1 | 12.50% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected