Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼6.28ms] Passed 4 tests
An overview of server-side resources used by ZIGnotch
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 44.15 ▲2.36 |
Dashboard /wp-admin | 3.36 ▲0.05 | 49.59 ▼7.37 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 50.07 ▼2.63 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 84.06 ▼14.14 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 38.21 ▼0.99 |
Server storage [IO: ▲2.32MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
ZIGnotch: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲55 | 14.22 ▼0.41 | 1.81 ▲0.23 | 41.86 ▼0.20 |
Dashboard /wp-admin | 2,193 ▲22 | 5.56 ▲0.02 | 85.54 ▼12.93 | 77.61 ▲35.00 |
Posts /wp-admin/edit.php | 2,116 ▲13 | 2.03 ▼0.07 | 36.25 ▼4.75 | 35.13 ▲0.51 |
Add New Post /wp-admin/post-new.php | 1,555 ▲18 | 23.28 ▲5.12 | 708.73 ▲75.12 | 57.22 ▼19.24 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.21 ▲0.02 | 102.61 ▲2.20 | 74.38 ▲30.27 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 9× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/zig-notch-events/includes/functions/functions.php:3
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/zig-notch-events/includes/functions/elementor/widgets/event_feed.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/zig-notch-events/includes/functions/styles-and-scripts.php:2
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/zig-notch-events/includes/functions/elementor/widgets/products.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/zig-notch-events/includes/functions/rest.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/zig-notch-events/includes/templates/admin-templates/admin-settings.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/zig-notch-events/includes/functions/elementor/widgets.php:2
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/zig-notch-events/includes/functions/elementor/widgets/agenda.php:2
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/zig-notch-events/includes/functions/elementor/widgets/exhibitors.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Contributors: The plugin contributors field is missing
zig-notch-events/zignotch-feed.php 85% from 13 tests
The main PHP script in "ZIGnotch" version 2.1.7 is automatically included on every request by WordPress
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 155 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("zig-notch-events.php" instead of "zignotch-feed.php")
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 detected6,813 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 1,228 | 46 | 5,268 |
PHP | 10 | 299 | 37 | 1,545 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 13.80 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 57.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 | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 23 | 74.19% |
▷ Protected methods | 8 | 25.81% |
▷ Private methods | 0 | 0.00% |
Functions | 28 | |
▷ Named functions | 27 | 96.43% |
▷ Anonymous functions | 1 | 3.57% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
13 PNG files occupy 1.76MB with 0.44MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 6.15KB | 3.07KB | ▼ 50.12% |
assets/icon-256x256.png | 10.38KB | 4.48KB | ▼ 56.81% |
assets/agenda-feed.png | 229.00KB | 241.19KB | 0.00% |
includes/images/icon.png | 5.75KB | 4.77KB | ▼ 16.99% |
includes/images/place-holder-logo.png | 0.13KB | 0.13KB | 0.00% |