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: ▲4.34MB] [CPU: ▲29.56ms] Passed 4 tests
A check of server-side resources used by Qazana Layout builder for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.66 ▲4.19 | 80.46 ▲41.78 |
Dashboard /wp-admin | 7.70 ▲4.40 | 87.30 ▲25.66 |
Posts /wp-admin/edit.php | 7.76 ▲4.41 | 77.42 ▲32.38 |
Add New Post /wp-admin/post-new.php | 10.25 ▲4.36 | 127.41 ▲18.41 |
Media Library /wp-admin/upload.php | 7.63 ▲4.41 | 77.08 ▲45.13 |
System Info /wp-admin/admin.php?page=qazana-system-info | 7.70 | 424.98 |
Welcome to Qazana /wp-admin/index.php?page=qazana-about | 7.54 | 60.64 |
My Library /wp-admin/edit.php?post_type=qazana_library | 7.68 | 69.78 |
Tools /wp-admin/admin.php?page=qazana-tools | 7.54 | 63.41 |
Settings /wp-admin/admin.php?page=qazana | 7.54 | 64.43 |
Server storage [IO: ▲7.67MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 733 new files
Database: no new tables, 10 new options
New WordPress options |
---|
_qazana_installed_time |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
_qazana_db_version |
db_upgraded |
widget_qazana-library |
qazana_version |
Browser metrics Passed 4 tests
An overview of browser requirements for Qazana Layout builder for WordPress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,846 ▲100 | 13.75 ▼0.57 | 1.72 ▼0.02 | 43.03 ▼1.38 |
Dashboard /wp-admin | 2,255 ▲70 | 4.89 ▼0.99 | 104.11 ▼20.55 | 41.45 ▼6.00 |
Posts /wp-admin/edit.php | 2,200 ▲111 | 2.11 ▲0.11 | 42.42 ▲0.49 | 36.23 ▲0.82 |
Add New Post /wp-admin/post-new.php | 1,563 ▲43 | 23.08 ▲0.04 | 596.27 ▼74.82 | 50.02 ▼1.94 |
Media Library /wp-admin/upload.php | 1,442 ▲57 | 4.32 ▲0.14 | 99.17 ▼5.44 | 44.58 ▼3.78 |
System Info /wp-admin/admin.php?page=qazana-system-info | 1,302 | 2.16 | 24.23 | 29.57 |
Welcome to Qazana /wp-admin/index.php?page=qazana-about | 823 | 2.15 | 26.31 | 34.57 |
My Library /wp-admin/edit.php?post_type=qazana_library | 1,179 | 2.06 | 37.25 | 29.21 |
Tools /wp-admin/admin.php?page=qazana-tools | 1,026 | 2.25 | 30.83 | 26.42 |
Settings /wp-admin/admin.php?page=qazana | 1,219 | 2.26 | 29.63 | 28.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 10 options in the database
- widget_qazana-library
- widget_theysaidso_widget
- _qazana_installed_time
- theysaidso_admin_options
- _qazana_db_version
- can_compress_scripts
- db_upgraded
- qazana_version
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/qazana/vendor/mobiledetect/mobiledetectlib/export/exportToJSON.php
- 27× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/qazana/templates/default/qazana.php:12
- > PHP Fatal error
Uncaught Error: Class 'WP_CLI_Command' not found in wp-content/plugins/qazana/includes/wp-cli/commands.php:10
- > PHP Fatal error
Uncaught Error: Class 'Qazana\\Element_Base' not found in wp-content/plugins/qazana/includes/widgets/elements/repeater.php:4
- > PHP Fatal error
Uncaught Error: Class 'Qazana\\Extensions\\Base' not found in wp-content/plugins/qazana/includes/extensions/piechart/extension_piechart.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/qazana/includes/extensions/history/views/history-panel-template.php:3
- > PHP Fatal error
Uncaught Error: Class 'Qazana\\Extensions\\Base' not found in wp-content/plugins/qazana/includes/extensions/counter/extension_counter.php:6
- > PHP Fatal error
Uncaught Error: Class 'Qazana\\Extensions\\Base' not found in wp-content/plugins/qazana/includes/extensions/wordpress_importer/extension_wordpress_importer.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function Qazana\\add_action() in wp-content/plugins/qazana/includes/widgets/shared/carousel.php:4
- > PHP Fatal error
Uncaught Error: Class 'Qazana\\Extensions\\Base' not found in wp-content/plugins/qazana/includes/extensions/hueman_theme/extension_hueman.php:4
- > PHP Fatal error
Uncaught Error: Class 'Qazana\\Extensions\\Base' not found in wp-content/plugins/qazana/includes/extensions/iconset_fontawesome/extension_iconset_fontawesome.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Tags: You are using too many tags: 28 tag instead of maximum 10
qazana/qazana.php 92% from 13 tests
"Qazana Layout builder for WordPress" version 1.3.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 157 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin121,071 lines of code in 663 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 222 | 13,436 | 4,226 | 48,430 |
PHP | 237 | 7,235 | 13,082 | 32,277 |
CSS | 56 | 1,309 | 297 | 20,405 |
Sass | 108 | 1,783 | 348 | 8,749 |
JSON | 5 | 7 | 0 | 7,969 |
SVG | 33 | 167 | 1 | 2,987 |
Markdown | 1 | 93 | 0 | 190 |
XML | 1 | 45 | 78 | 64 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 10.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 134.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 91.00 |
Code structure | ||
---|---|---|
Namespaces | 22 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 211 | |
▷ Abstract classes | 20 | 9.48% |
▷ Concrete classes | 191 | 90.52% |
▷ Final classes | 3 | 1.57% |
Methods | 1,758 | |
▷ Static methods | 222 | 12.63% |
▷ Public methods | 1,361 | 77.42% |
▷ Protected methods | 282 | 16.04% |
▷ Private methods | 115 | 6.54% |
Functions | 139 | |
▷ Named functions | 99 | 71.22% |
▷ Anonymous functions | 40 | 28.78% |
Constants | 149 | |
▷ Global constants | 7 | 4.70% |
▷ Class constants | 142 | 95.30% |
▷ Public constants | 142 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 compressed PNG files occupy 0.02MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/logo-small-light.png | 0.42KB | 0.46KB | 0.00% |
assets/images/placeholder@2x.png | 12.41KB | 12.33KB | ▼ 0.69% |
assets/images/placeholder.png | 5.27KB | 5.10KB | ▼ 3.17% |