Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼4.60ms] Passed 4 tests
An overview of server-side resources used by Easy Query - WP Query Builder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 40.02 ▼6.02 |
Dashboard /wp-admin | 3.46 ▲0.16 | 52.20 ▲0.80 |
Posts /wp-admin/edit.php | 3.57 ▲0.22 | 53.63 ▼2.05 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 94.31 ▼11.14 |
Media Library /wp-admin/upload.php | 3.38 ▲0.16 | 43.07 ▲4.69 |
Easy Query /wp-admin/options-general.php?page=easy-query | 3.36 | 35.39 |
Server storage [IO: ▲1.19MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 86 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_easy_query |
New WordPress options |
---|
easy_query_version |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Easy Query - WP Query Builder
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,803 ▲57 | 13.23 ▼1.15 | 1.98 ▲0.26 | 42.91 ▼0.66 |
Dashboard /wp-admin | 2,207 ▲16 | 4.90 ▼1.01 | 110.63 ▲8.66 | 39.71 ▼3.33 |
Posts /wp-admin/edit.php | 2,090 ▼2 | 2.00 ▼0.06 | 46.87 ▲5.83 | 31.58 ▼5.34 |
Add New Post /wp-admin/post-new.php | 1,533 ▼4 | 23.30 ▲5.05 | 663.60 ▲26.13 | 55.18 ▼8.65 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.26 ▲0.01 | 96.73 ▼8.43 | 43.43 ▼2.35 |
Easy Query /wp-admin/options-general.php?page=easy-query | 1,118 | 2.23 | 37.39 | 97.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_easy_query
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- easy_query_version
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/easy-query/admin/includes/components/template.php
- 31× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-query/admin/includes/cta/extend.php:3
- > PHP Warning
Use of undefined constant EQ_PATH - assumed 'EQ_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-query/admin/views/settings.php on line 18
- > PHP Warning
Use of undefined constant EQ_TITLE - assumed 'EQ_TITLE' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-query/admin/views/examples.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-query/admin/query-generator/generator.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-query/admin/includes/cta/templating.php:2
- > PHP Warning
Use of undefined constant EQ_TAGLINE - assumed 'EQ_TAGLINE' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-query/admin/views/settings.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-query/admin/views/template.php:4
- > PHP Warning
Use of undefined constant EQ_TITLE - assumed 'EQ_TITLE' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-query/admin/views/template.php on line 4
- > PHP Notice
Trying to get property 'max_num_pages' of non-object in wp-content/plugins/easy-query/core/paging.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-query/admin/editor/editor.php:5
- > 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 errors were detected
Optimizations
Plugin configuration 93% 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: A description for screenshot #4 is missing in easy-query/assets to your readme.txt
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
easy-query/easy-query.php Passed 13 tests
This is the main PHP file of "Easy Query - WP Query Builder" version 2.0.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
37 characters long description:
A query builder plugin for WordPress.
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
Success! There were no dangerous files found in this plugin16,770 lines of code in 65 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 25 | 1,307 | 1,298 | 10,255 |
CSS | 4 | 279 | 133 | 2,802 |
PHP | 24 | 415 | 338 | 2,020 |
HTML | 12 | 225 | 1 | 1,693 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 33.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 6.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 33 | |
▷ Named functions | 33 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 12 | 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
14 PNG files occupy 0.18MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/logos/instant-images.png | 1.58KB | 0.50KB | ▼ 68.09% |
admin/img/easy-query-go-pro.png | 162.58KB | 54.39KB | ▼ 66.55% |
admin/img/bkg-radio_off.png | 1.41KB | 0.50KB | ▼ 64.65% |
admin/img/bkg-radio_on.png | 1.52KB | 0.57KB | ▼ 62.71% |
admin/img/easy-query-logo-48x48.png | 1.97KB | 1.08KB | ▼ 44.97% |