Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.64ms] 75% from 4 tests
Server-side resources used by Inquirer
Please take the time to fix the following items
- CPU: You should keep total CPU usage under 500.00ms (currently 5,571.96ms on /wp-admin/options-general.php?page=inquirer)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.10 ▼6.78 |
Dashboard /wp-admin | 3.33 ▲0.03 | 44.30 ▼7.38 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 47.82 ▲1.83 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 91.98 ▼6.23 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 42.99 ▲8.30 |
Inquirer /wp-admin/options-general.php?page=inquirer | 4.14 | 5,571.96 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
inquirer_settings |
can_compress_scripts |
Browser metrics Passed 4 tests
Inquirer: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲85 | 13.24 ▼1.44 | 2.04 ▲0.38 | 44.21 ▲0.77 |
Dashboard /wp-admin | 2,209 ▲21 | 5.84 ▲0.93 | 97.60 ▼16.87 | 44.56 ▲1.59 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.05 ▲0.03 | 37.57 ▲0.73 | 33.69 ▼0.19 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.17 ▲4.92 | 656.60 ▲12.41 | 50.23 ▼3.00 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.20 ▼0.02 | 96.98 ▼3.09 | 41.83 ▼3.93 |
Inquirer /wp-admin/options-general.php?page=inquirer | 1,033 | 2.03 | 22.37 | 35.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- inquirer_settings
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/inquirer/class-admin.php
- > /wp-content/plugins/inquirer/class-settings.php
- > /wp-content/plugins/inquirer/inquirer.php
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)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: Add a description for screenshot #0 in inquirer/assets to your readme.txt
inquirer/inquirer.php 92% from 13 tests
The main file in "Inquirer" v. 0.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder was not found ("/languages")
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
Everything looks great! No dangerous files found in this plugin483 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 48 | 187 | 390 |
CSS | 1 | 13 | 0 | 77 |
JSON | 1 | 1 | 0 | 16 |
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.47 |
Average class complexity | 18.33 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 3.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 12 | 63.16% |
▷ Public methods | 16 | 84.21% |
▷ Protected methods | 1 | 5.26% |
▷ Private methods | 2 | 10.53% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/pagespeed_insights.png | 0.84KB | 0.86KB | 0.00% |