Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.87ms] Passed 4 tests
An overview of server-side resources used by WP Query Engine
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.68 ▲2.97 |
Dashboard /wp-admin | 3.32 ▲0.02 | 51.13 ▲2.84 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 46.32 ▼7.73 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 89.99 ▼9.13 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.84 ▼1.44 |
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: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Query Engine
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.38 ▼0.08 | 1.80 ▲0.10 | 46.15 ▲2.52 |
Dashboard /wp-admin | 2,198 ▲18 | 5.61 ▼0.05 | 86.50 ▼2.20 | 38.46 ▼6.63 |
Posts /wp-admin/edit.php | 2,097 ▼0 | 1.95 ▼0.04 | 34.42 ▼2.31 | 32.18 ▼2.15 |
Add New Post /wp-admin/post-new.php | 1,537 ▲9 | 18.29 ▼4.62 | 624.47 ▼62.00 | 72.53 ▲21.16 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.35 ▲0.24 | 98.29 ▼8.28 | 41.37 ▼5.51 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% 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 everything seems fine, this is not an exhaustive test
SRP 0% 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 take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-query-engine/wp-query-engine.php
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WPCL\\QueryEngine\\Plugin' not found in wp-content/plugins/wp-query-engine/includes/classes/frontend.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/wp-query-engine/templates/loop.php:4
- > PHP Fatal error
Uncaught Error: Class 'WPCL\\QueryEngine\\Plugin' not found in wp-content/plugins/wp-query-engine/includes/classes/query.php:14
- > PHP Fatal error
Uncaught Error: Class 'WPCL\\QueryEngine\\Plugin' not found in wp-content/plugins/wp-query-engine/includes/classes/beaverbuilder.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-query-engine/templates/genesis.php:3
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderModule' not found in wp-content/plugins/wp-query-engine/includes/classes/beaverbuilder/queryengine.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/wp-query-engine/templates/basic-archive.php:50
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== wp-query-engine ===
)
wp-query-engine/wp-query-engine.php 92% from 13 tests
The main file in "WP Query Engine" v. 1.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
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
Good job! No executable or dangerous file extensions detected1,100 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 195 | 580 | 1,100 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 17.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 4.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 53 | |
▷ Static methods | 31 | 58.49% |
▷ Public methods | 41 | 77.36% |
▷ Protected methods | 2 | 3.77% |
▷ Private methods | 10 | 18.87% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
No PNG images were found in this plugin