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
- Install procedure had errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method zia3_os::flush() should not be called statically
Server metrics [RAM: ▼0.62MB] [CPU: ▼16.00ms] Passed 4 tests
A check of server-side resources used by Zia3 Opening Sequence
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 36.62 ▼1.82 |
Dashboard /wp-admin | 3.36 ▲0.05 | 46.48 ▼7.11 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 46.33 ▼4.10 |
Add New Post /wp-admin/post-new.php | 3.23 ▼2.65 | 37.13 ▼50.98 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 42.87 ▲8.34 |
All Opening Sequences /wp-admin/edit.php?post_type=zia3_os | 3.32 | 37.34 |
Add Opening Sequence /wp-admin/post-new.php?post_type=zia3_os | 3.16 | 33.79 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Zia3 Opening Sequence
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲72 | 14.62 ▼0.01 | 3.02 ▲1.28 | 42.29 ▼1.93 |
Dashboard /wp-admin | 2,222 ▲48 | 5.55 ▼0.02 | 81.67 ▼2.87 | 84.98 ▲45.59 |
Posts /wp-admin/edit.php | 2,124 ▲24 | 1.99 ▲0.03 | 35.09 ▼0.25 | 29.34 ▼8.43 |
Add New Post /wp-admin/post-new.php | 1,703 ▲175 | 21.74 ▼1.56 | 703.17 ▼2.46 | 56.28 ▼10.71 |
Media Library /wp-admin/upload.php | 1,424 ▲24 | 4.23 ▲0.06 | 98.09 ▼10.39 | 72.50 ▲27.63 |
All Opening Sequences /wp-admin/edit.php?post_type=zia3_os | 1,107 | 1.90 | 30.93 | 25.77 |
Add Opening Sequence /wp-admin/post-new.php?post_type=zia3_os | 1,676 | 2.61 | 54.26 | 55.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method zia3_os::flush() should not be called statically
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/post-new.php?post_type=zia3_os
- > Notice in wp-content/plugins/zia3-os/methods/metaboxes/zia3_os_save_metabox.php+32
Undefined index: custom_repeatable
- > GET request to /wp-admin/post-new.php?post_type=zia3_os
- > Notice in wp-content/plugins/zia3-os/methods/metaboxes/zia3_os_shortcode_metabox.php+24
Undefined index: link_title
- > GET request to /wp-admin/post-new.php?post_type=zia3_os
- > Notice in wp-content/plugins/zia3-os/methods/metaboxes/zia3_os_shortcode_metabox.php+25
Undefined index: link
- > GET request to /wp-admin/post-new.php?post_type=zia3_os
- > Notice in wp-content/plugins/zia3-os/methods/metaboxes/zia3_os_shortcode_metabox.php+26
Undefined index: link_color
- > GET request to /wp-admin/post-new.php?post_type=zia3_os
- > Notice in wp-content/plugins/zia3-os/methods/metaboxes/zia3_os_shortcode_metabox.php+27
Undefined index: slogan
- > GET request to /wp-admin/post-new.php?post_type=zia3_os
- > Notice in wp-content/plugins/zia3-os/methods/metaboxes/zia3_os_shortcode_metabox.php+28
Undefined index: slogan_link
- > GET request to /wp-admin/post-new.php?post_type=zia3_os
- > Notice in wp-content/plugins/zia3-os/methods/metaboxes/zia3_os_shortcode_metabox.php+29
Undefined index: slogan_link_color
- > GET request to /wp-admin/post-new.php?post_type=zia3_os
- > Notice in wp-content/plugins/zia3-os/methods/metaboxes/zia3_os_shortcode_metabox.php+30
Undefined index: font_size
- > GET request to /wp-admin/post-new.php?post_type=zia3_os
- > Notice in wp-content/plugins/zia3-os/methods/metaboxes/zia3_os_shortcode_metabox.php+37
Undefined variable: exampleGenShortcode
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
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/zia3-os/css/zia3-os-dynamic-style.css.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: Add a description for screenshot #3 in zia3-os/assets to your readme.txt
- Tags: You are using too many tags: 12 tag instead of maximum 10
zia3-os/zia3_os.php 92% from 13 tests
Analyzing the main PHP file in "Zia3 Opening Sequence" version 1.1
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("zia3-os.php" instead of "zia3_os.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected1,270 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 145 | 84 | 966 |
JavaScript | 4 | 23 | 20 | 154 |
CSS | 2 | 1 | 0 | 150 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.43 |
▷ 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 | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/zia3_logo.png | 1.86KB | 1.49KB | ▼ 19.73% |
images/pattern.png | 0.12KB | 0.10KB | ▼ 14.41% |
images/image.png | 4.22KB | 0.78KB | ▼ 81.40% |