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.09MB] [CPU: ▲1.11ms] Passed 4 tests
A check of server-side resources used by Supaz Easy Background - Easy way to add parallax image or video background
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 45.49 ▲1.25 |
Dashboard /wp-admin | 3.41 ▲0.11 | 55.92 ▲3.67 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 55.07 ▲1.99 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 95.85 ▼2.46 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 40.34 ▲4.45 |
About Us /wp-admin/edit.php?post_type=seb_posts&page=about-us | 3.38 | 37.60 |
Supaz Easy Backgrounds /wp-admin/edit.php?post_type=seb_posts | 3.38 | 42.65 |
Add New /wp-admin/post-new.php?post_type=seb_posts | 3.47 | 49.54 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Supaz Easy Background - Easy way to add parallax image or video background: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,989 ▲228 | 14.65 ▲0.27 | 1.81 ▲0.26 | 47.62 ▲5.78 |
Dashboard /wp-admin | 2,392 ▲215 | 6.48 ▲0.86 | 102.31 ▲14.56 | 35.18 ▼5.68 |
Posts /wp-admin/edit.php | 2,324 ▲224 | 3.58 ▲1.53 | 49.18 ▲8.11 | 30.42 ▼8.35 |
Add New Post /wp-admin/post-new.php | 1,576 ▲34 | 17.66 ▼0.74 | 605.61 ▼29.77 | 34.09 ▼19.03 |
Media Library /wp-admin/upload.php | 1,460 ▲57 | 4.27 ▲0.00 | 87.92 ▼13.31 | 42.73 ▼0.88 |
About Us /wp-admin/edit.php?post_type=seb_posts&page=about-us | 1,538 | 3.27 | 44.51 | 118.09 |
Supaz Easy Backgrounds /wp-admin/edit.php?post_type=seb_posts | 1,320 | 3.66 | 47.89 | 34.27 |
Add New /wp-admin/post-new.php?post_type=seb_posts | 2,331 | 4.51 | 90.38 | 68.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
- 10× PHP files output text when accessed directly:
- > /wp-content/plugins/supaz-easy-background/supaz-easy-background.php
- > /wp-content/plugins/supaz-easy-background/inc/classes/admin/seb-admin.php
- > /wp-content/plugins/supaz-easy-background/inc/classes/admin/seb-metabox.php
- > /wp-content/plugins/supaz-easy-background/inc/classes/admin/seb-enqueue.php
- > /wp-content/plugins/supaz-easy-background/inc/classes/seb-post-type/seb-custom-post-type.php
- > /wp-content/plugins/supaz-easy-background/inc/classes/admin/seb-init.php
- > /wp-content/plugins/supaz-easy-background/inc/classes/seb-post-type/seb-meta-box/seb-meta-box.php
- > /wp-content/plugins/supaz-easy-background/inc/classes/admin/seb-library.php
- > /wp-content/plugins/supaz-easy-background/inc/classes/seb-post-type/seb-meta-box/seb-meta-saves.php
- > /wp-content/plugins/supaz-easy-background/inc/classes/admin/about.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=seb_posts
- > Javascript (severe) in unknown
/wp-content/plugins/supaz-easy-background/js/wp-color-picker-alpha.js?ver=1.0.2 10:459 Uncaught ReferenceError: wpColorPickerL10n is not defined
Optimizations
Plugin configuration 93% from 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
6 plugin tags: background, parallax background, image background, video background, easy background...
supaz-easy-background/supaz-easy-background.php 85% from 13 tests
The main PHP file in "Supaz Easy Background - Easy way to add parallax image or video background" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Domain Path: The domain path points to a folder that does not exist ("/languages/")
- Plugin Name: Please shorten the plugin name (currently 74 characters long instead of max. 70)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected1,517 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 147 | 116 | 802 |
PHP | 11 | 71 | 23 | 540 |
CSS | 4 | 43 | 8 | 175 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 3.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 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
2 PNG files occupy 0.31MB with 0.20MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/tnt-banner.png | 188.87KB | 68.03KB | ▼ 63.98% |
images/insta-banner.png | 128.35KB | 43.15KB | ▼ 66.38% |