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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.04ms] Passed 4 tests
An overview of server-side resources used by SAC DIGITAL POPUP
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.06 | 37.62 ▼4.89 |
Dashboard /wp-admin | 3.35 ▲0.05 | 45.46 ▲0.71 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 52.12 ▲5.57 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 99.35 ▼4.49 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.52 ▼3.47 |
SAC DIGITAL Popup /wp-admin/options-general.php?page=sac-digital-popup | 3.24 | 32.62 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for SAC DIGITAL POPUP
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.21 ▼1.34 | 1.73 ▼0.00 | 38.32 ▼11.95 |
Dashboard /wp-admin | 2,213 ▲22 | 5.85 ▲0.98 | 106.99 ▲2.54 | 42.36 ▲3.84 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.02 ▼0.02 | 40.11 ▲2.91 | 36.54 ▲2.39 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 18.37 ▼4.84 | 582.91 ▼113.56 | 56.99 ▲4.93 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.23 ▲0.03 | 94.44 ▼11.88 | 41.21 ▼4.55 |
SAC DIGITAL Popup /wp-admin/options-general.php?page=sac-digital-popup | 862 | 2.06 | 25.04 | 26.75 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- sac-digital-popup-token
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/sac-digital-popup/public/partials/sac-digital-popup-public-display.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/sac-digital-popup/admin/partials/sac-digital-popup-admin-display.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
2 plugin tags: popup, sacdigital
sac-digital-popup/sac-digital-popup.php 92% from 13 tests
Analyzing the main PHP file in "SAC DIGITAL POPUP" version 3.0.0
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 141 characters long)
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
Success! There were no dangerous files found in this plugin339 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 128 | 406 | 263 |
PO File | 2 | 18 | 18 | 76 |
PHP code Passed 2 tests
Analyzing 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.14 |
Average class complexity | 1.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 2 | 8.33% |
▷ Public methods | 19 | 79.17% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 20.83% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
No PNG files were detected