Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.13MB] [CPU: ▼150.08ms] Passed 4 tests
This is a short check of server-side resources used by WP Query Creator
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.96 ▲0.25 | 40.29 ▲17.84 |
Dashboard /wp-admin | 3.19 ▲0.14 | 41.25 ▼16.29 |
Posts /wp-admin/edit.php | 3.24 ▲0.14 | 54.17 ▲9.11 |
Add New Post /wp-admin/post-new.php | 5.56 ▲0.12 | 98.81 ▼588.06 |
Media Library /wp-admin/upload.php | 3.13 ▲0.13 | 38.50 ▼5.06 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Query Creator
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,727 ▲90 | 16.22 ▲0.31 | 11.20 ▲0.50 | 49.63 ▼6.85 |
Dashboard /wp-admin | 2,994 ▲57 | 5.96 ▲0.01 | 147.96 ▼14.90 | 113.71 ▼7.13 |
Posts /wp-admin/edit.php | 2,760 ▲21 | 2.69 ▼0.01 | 72.29 ▲3.57 | 94.61 ▼4.35 |
Add New Post /wp-admin/post-new.php | 1,607 ▼76 | 18.77 ▲0.05 | 379.89 ▼34.16 | 116.95 ▼22.79 |
Media Library /wp-admin/upload.php | 1,831 ▲9 | 5.01 ▼0.03 | 174.45 ▲8.75 | 119.10 ▼17.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
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
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'wpqc_Cls' not found in wp-content/plugins/wp-query-creator/includes/admin.php:2
- > PHP Fatal error
Uncaught Error: Class 'wpqc_Cls' not found in wp-content/plugins/wp-query-creator/includes/shortcode.php:2
- > PHP Fatal error
Uncaught Error: Class 'wpqc_Cls' not found in wp-content/plugins/wp-query-creator/includes/css_js.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: These screenshots require images: #2 (Listing all WP Query), #3 (Admin preview), #4 (Set HTML Template)
- Donate link: Please fix this invalid url: ""
wp-query-creator/wpqc.php 92% from 13 tests
The primary PHP file in "WP Query Creator" version 1.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-query-creator.php" instead of "wpqc.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin807 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 55 | 46 | 807 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 34.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 83.00 |
Average method complexity | 12.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 83.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
There are no PNG files in this plugin