Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼140.79ms] Passed 4 tests
An overview of server-side resources used by Aazeen extension
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.96 ▲0.24 | 42.37 ▲20.96 |
Dashboard /wp-admin | 3.22 ▲0.16 | 57.43 ▲10.99 |
Posts /wp-admin/edit.php | 3.26 ▲0.15 | 49.80 ▼7.15 |
Add New Post /wp-admin/post-new.php | 5.58 ▲0.15 | 96.59 ▼568.94 |
Media Library /wp-admin/upload.php | 3.16 ▲0.16 | 37.65 ▲1.95 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 3.17 | 34.86 |
Import Demo Data /wp-admin/admin.php?page=pt-one-click-demo-import | 3.14 | 34.40 |
Server storage [IO: ▲3.81MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 141 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Aazeen extension: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,841 ▲204 | 16.06 ▲0.55 | 8.17 ▼1.84 | 48.72 ▼3.46 |
Dashboard /wp-admin | 3,125 ▲191 | 6.28 ▲0.33 | 146.21 ▲2.06 | 132.32 ▲17.95 |
Posts /wp-admin/edit.php | 2,919 ▲180 | 3.03 ▲0.35 | 74.16 ▲4.68 | 95.01 ▼0.55 |
Add New Post /wp-admin/post-new.php | 1,816 ▲133 | 24.16 ▲5.44 | 390.69 ▲12.27 | 117.10 ▼8.34 |
Media Library /wp-admin/upload.php | 1,916 ▲106 | 5.11 ▲0.10 | 143.34 ▼8.77 | 157.17 ▲28.63 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 1,533 | 2.65 | 63.58 | 101.48 |
Import Demo Data /wp-admin/admin.php?page=pt-one-click-demo-import | 1,364 | 2.59 | 71.11 | 133.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
- 7× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/aazeen-extension/siteorigin-pro.php
- > /wp-content/plugins/aazeen-extension/function-demo-pro.php
- > /wp-content/plugins/aazeen-extension/one-click-demo-import/one-click-demo-import.php
- > /wp-content/plugins/aazeen-extension/function-demo.php
- > /wp-content/plugins/aazeen-extension/siteorigin.php
- > /wp-content/plugins/aazeen-extension/aazeen-extensions.php
- > /wp-content/plugins/aazeen-extension/inc/widgets-so/numc-widget/tpl/number.php
- 29× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_Importer' not found in wp-content/plugins/aazeen-extension/one-click-demo-import/vendor/proteusthemes/wp-content-importer-v2/src/WXRImporter.php:4
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/aazeen-extension/inc/widget-slider.php:13
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/aazeen-extension/one-click-demo-import/views/plugin-page.php:10
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/aazeen-extension/inc/product-carousel.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/aazeen-extension/inc/default.php:10
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Setting' not found in wp-content/plugins/aazeen-extension/one-click-demo-import/inc/CustomizerOption.php:14
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/aazeen-extension/inc/widget-service.php:13
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/aazeen-extension/inc/widget-contact.php:11
- > PHP Fatal error
Uncaught Error: Class 'SiteOrigin_Widget' not found in wp-content/plugins/aazeen-extension/inc/widgets-so/prit-widget/prit-widget.php:9
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/aazeen-extension/inc/widgets-so/numc-widget/tpl/number.php on line 11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: widgets, siteorigin, clients, widget, team members
aazeen-extension/aazeen-extensions.php 85% from 13 tests
The entry point to "Aazeen extension" version 1.0.7 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("aazeen-extension.php" instead of "aazeen-extensions.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
There were no executable files found in this plugin44,021 lines of code in 100 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
XML | 10 | 427 | 200 | 12,451 |
PHP | 52 | 2,594 | 4,154 | 12,126 |
JSON | 7 | 0 | 0 | 8,383 |
JavaScript | 14 | 1,248 | 381 | 4,793 |
CSS | 10 | 122 | 54 | 3,400 |
SVG | 4 | 0 | 3 | 2,762 |
LESS | 2 | 19 | 0 | 92 |
Markdown | 1 | 11 | 0 | 14 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 39.46 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 290.00 |
Average method complexity | 5.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 62.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 41 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 41 | 100.00% |
▷ Final classes | 1 | 2.44% |
Methods | 338 | |
▷ Static methods | 41 | 12.13% |
▷ Public methods | 252 | 74.56% |
▷ Protected methods | 59 | 17.46% |
▷ Private methods | 27 | 7.99% |
Functions | 64 | |
▷ Named functions | 61 | 95.31% |
▷ Anonymous functions | 3 | 4.69% |
Constants | 9 | |
▷ Global constants | 4 | 44.44% |
▷ Class constants | 5 | 55.56% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
10 PNG files occupy 0.33MB with 0.21MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/testi62.png | 58.71KB | 21.66KB | ▼ 63.10% |
demo/shop1/demo.png | 68.79KB | 22.71KB | ▼ 66.99% |
images/ghost2-64x64.png | 3.93KB | 1.39KB | ▼ 64.64% |
images/pig2-64x64.png | 3.76KB | 1.35KB | ▼ 64.15% |
images/testi22.png | 61.76KB | 23.29KB | ▼ 62.30% |