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.08MB] [CPU: ▼6.96ms] Passed 4 tests
An overview of server-side resources used by AZ-Theme Toolkit
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 39.46 ▲0.07 |
Dashboard /wp-admin | 3.39 ▲0.05 | 51.65 ▼9.90 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 55.53 ▲0.74 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 92.61 ▼18.47 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 37.53 ▲0.45 |
Add New /wp-admin/post-new.php?post_type=portfolio | 3.42 | 50.60 |
Portfolio Categories /wp-admin/edit-tags.php?taxonomy=portfolio_category&post_type=portfolio | 3.32 | 40.91 |
All Items /wp-admin/edit.php?post_type=portfolio | 3.37 | 43.70 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 19 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_aztheme-categories-images |
db_upgraded |
widget_recent-comments |
widget_aztheme-about-me |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_aztheme-social-media-links |
widget_theysaidso_widget |
widget_aztheme-latest-posts-widget |
Browser metrics Passed 4 tests
AZ-Theme Toolkit: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,964 ▲218 | 14.43 ▲0.15 | 1.82 ▲0.27 | 43.42 ▲0.47 |
Dashboard /wp-admin | 2,365 ▲185 | 6.16 ▲0.52 | 110.67 ▲20.75 | 38.81 ▼4.39 |
Posts /wp-admin/edit.php | 2,293 ▲193 | 3.30 ▲1.30 | 54.79 ▲14.65 | 35.11 ▼8.28 |
Add New Post /wp-admin/post-new.php | 1,554 ▲28 | 23.68 ▲0.12 | 669.53 ▼11.05 | 39.30 ▼17.34 |
Media Library /wp-admin/upload.php | 1,436 ▲36 | 4.13 ▼0.09 | 82.33 ▼31.18 | 45.28 ▼3.66 |
Add New /wp-admin/post-new.php?post_type=portfolio | 2,296 | 7.59 | 180.76 | 69.36 |
Portfolio Categories /wp-admin/edit-tags.php?taxonomy=portfolio_category&post_type=portfolio | 1,470 | 3.15 | 43.61 | 33.23 |
All Items /wp-admin/edit.php?post_type=portfolio | 1,271 | 3.39 | 44.37 | 28.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 10 options
- widget_aztheme-categories-images
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_aztheme-latest-posts-widget
- can_compress_scripts
- widget_aztheme-about-me
- widget_recent-comments
- widget_theysaidso_widget
- widget_aztheme-social-media-links
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 10× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/aztheme-toolkit/widgets/categories-images.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/aztheme-toolkit/widgets/about-me.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/aztheme-toolkit/widgets/social-media-links.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aztheme-toolkit/admin/customizer.php:78
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aztheme-toolkit/admin/categories-images/categories-images.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/aztheme-toolkit/widgets/latest-posts.php:3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/aztheme-toolkit/elementor/producta-base.php on line 38
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/aztheme-toolkit/elementor/producta-base.php on line 38
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/aztheme-toolkit/elementor/producta-base.php on line 38
- > PHP Fatal error
Uncaught Error: Call to undefined function is_plugin_active() in wp-content/plugins/aztheme-toolkit/elementor/producta-base.php:41
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% 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:
- Screenshots: Please describe screenshot #1 in aztheme-toolkit/assets to your readme.txt
aztheme-toolkit/aztheme-toolkit.php Passed 13 tests
"AZ-Theme Toolkit" version 1.0.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
81 characters long description:
AZTheme Toolkit provides you necessary widgets for better and effective blogging.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected1,378 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 149 | 324 | 1,243 |
CSS | 1 | 0 | 4 | 109 |
JavaScript | 1 | 1 | 0 | 26 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 56 | |
▷ Static methods | 1 | 1.79% |
▷ Public methods | 48 | 85.71% |
▷ Protected methods | 8 | 14.29% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/categories-images/category-thumbnail-placeholder.png | 27.87KB | 11.37KB | ▼ 59.19% |