Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method zia3::flush() should not be called statically
Server metrics [RAM: ▲0.04MB] [CPU: ▼1.52ms] Passed 4 tests
Analyzing server-side resources used by Zia3 CSS Fullscreen Background Slideshow
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.05 | 39.52 ▼1.24 |
Dashboard /wp-admin | 3.34 ▲0.04 | 45.39 ▼1.24 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 44.62 ▼0.18 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 85.14 ▼3.43 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.39 ▲4.01 |
All Slideshows /wp-admin/edit.php?post_type=zia3 | 3.35 | 38.22 |
Add Slideshow /wp-admin/post-new.php?post_type=zia3 | 3.38 | 48.35 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Zia3 CSS Fullscreen Background Slideshow
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,917 ▲182 | 13.61 ▼1.00 | 6.21 ▲4.54 | 46.86 ▼2.43 |
Dashboard /wp-admin | 2,227 ▲39 | 5.83 ▼0.07 | 100.81 ▼5.08 | 40.52 ▼2.61 |
Posts /wp-admin/edit.php | 2,116 ▲24 | 2.02 ▼0.02 | 34.67 ▼2.74 | 37.69 ▲7.05 |
Add New Post /wp-admin/post-new.php | 1,557 ▲43 | 23.19 ▲5.73 | 690.64 ▲51.69 | 55.56 ▼0.77 |
Media Library /wp-admin/upload.php | 1,415 ▲33 | 4.20 ▼0.02 | 98.62 ▲0.35 | 42.98 ▼0.43 |
All Slideshows /wp-admin/edit.php?post_type=zia3 | 1,263 | 3.36 | 45.58 | 27.53 |
Add Slideshow /wp-admin/post-new.php?post_type=zia3 | 1,920 | 3.66 | 60.74 | 32.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method zia3::flush() should not be called statically
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/post-new.php?post_type=zia3
- > Notice in wp-content/plugins/zia3-css-fullscreen-background-slideshow/methods/metaboxes/zia3_shortcode_metabox.php+20
Undefined index: fade
- > GET request to /wp-admin/post-new.php?post_type=zia3
- > Notice in wp-content/plugins/zia3-css-fullscreen-background-slideshow/methods/metaboxes/zia3_shortcode_metabox.php+21
Undefined index: delay
- > GET request to /wp-admin/post-new.php?post_type=zia3
- > Notice in wp-content/plugins/zia3-css-fullscreen-background-slideshow/methods/metaboxes/zia3_shortcode_metabox.php+22
Undefined index: overlay
- > GET request to /wp-admin/post-new.php?post_type=zia3
- > Notice in wp-content/plugins/zia3-css-fullscreen-background-slideshow/methods/metaboxes/zia3_shortcode_metabox.php+23
Undefined index: type
- > GET request to /wp-admin/post-new.php?post_type=zia3
- > Notice in wp-content/plugins/zia3-css-fullscreen-background-slideshow/methods/metaboxes/zia3_shortcode_metabox.php+24
Undefined index: autoplay
- > GET request to /wp-admin/post-new.php?post_type=zia3
- > Notice in wp-content/plugins/zia3-css-fullscreen-background-slideshow/methods/metaboxes/zia3_shortcode_metabox.php+25
Undefined index: poster
- > GET request to /wp-admin/post-new.php?post_type=zia3
- > Notice in wp-content/plugins/zia3-css-fullscreen-background-slideshow/methods/metaboxes/zia3_shortcode_metabox.php+26
Undefined index: arrows
- > GET request to /wp-admin/post-new.php?post_type=zia3
- > Notice in wp-content/plugins/zia3-css-fullscreen-background-slideshow/methods/metaboxes/zia3_shortcode_metabox.php+27
Undefined index: link_title
- > GET request to /wp-admin/post-new.php?post_type=zia3
- > Notice in wp-content/plugins/zia3-css-fullscreen-background-slideshow/methods/metaboxes/zia3_shortcode_metabox.php+28
Undefined index: link
- > GET request to /wp-admin/post-new.php?post_type=zia3
- > Notice in wp-content/plugins/zia3-css-fullscreen-background-slideshow/methods/metaboxes/zia3_shortcode_metabox.php+29
Undefined index: link_color
- > GET request to /wp-admin/post-new.php?post_type=zia3
- > Notice in wp-content/plugins/zia3-css-fullscreen-background-slideshow/methods/metaboxes/zia3_shortcode_metabox.php+30
Undefined index: slogan
- > GET request to /wp-admin/post-new.php?post_type=zia3
- > Notice in wp-content/plugins/zia3-css-fullscreen-background-slideshow/methods/metaboxes/zia3_shortcode_metabox.php+31
Undefined index: slogan_link
- > GET request to /wp-admin/post-new.php?post_type=zia3
- > Notice in wp-content/plugins/zia3-css-fullscreen-background-slideshow/methods/metaboxes/zia3_shortcode_metabox.php+32
Undefined index: slogan_link_color
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 fix the following items
- 4× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/zia3-css-fullscreen-background-slideshow/css/zia3-dynamic-style-4.css.php
- > /wp-content/plugins/zia3-css-fullscreen-background-slideshow/css/zia3-dynamic-style-1.css.php
- > /wp-content/plugins/zia3-css-fullscreen-background-slideshow/css/zia3-dynamic-style-2.css.php
- > /wp-content/plugins/zia3-css-fullscreen-background-slideshow/css/zia3-dynamic-style-3.css.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/post-new.php?post_type=zia3
- > Javascript (severe) in unknown
/wp-content/plugins/zia3-css-fullscreen-background-slideshow/js/img_reorder_remove.js 12:23 Uncaught TypeError: jQuery(...).live is not a function
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% 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 your attention:
- Screenshots: A description for screenshot #3 is required in zia3-css-fullscreen-background-slideshow/assets to your readme.txt
zia3-css-fullscreen-background-slideshow/zia3.php 85% from 13 tests
The entry point to "Zia3 CSS Fullscreen Background Slideshow" version 1.2 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("zia3-css-fullscreen-background-slideshow.php" instead of "zia3.php")
- Description: Keep the plugin description shorter than 140 characters (currently 192 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected2,243 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 138 | 63 | 1,536 |
CSS | 3 | 6 | 5 | 360 |
SVG | 1 | 0 | 0 | 188 |
JavaScript | 4 | 2 | 3 | 159 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/pattern.png | 0.12KB | 0.10KB | ▼ 14.41% |