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.01MB] [CPU: ▼6.48ms] Passed 4 tests
Analyzing server-side resources used by post search and order
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 40.09 ▼5.60 |
Dashboard /wp-admin | 3.32 ▼0.02 | 49.26 ▼20.31 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.13 ▲0.03 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 96.96 ▲4.49 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.67 ▼0.03 |
post search and order /wp-admin/options-general.php?page=post_search_and_order_setting | 3.21 | 31.39 |
Server storage [IO: ▲0.88MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 229 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
post search and order: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,907 ▲146 | 13.80 ▼0.58 | 12.53 ▲10.69 | 45.40 ▲2.51 |
Dashboard /wp-admin | 2,196 ▲19 | 5.51 ▼0.17 | 81.05 ▼18.36 | 42.74 ▲0.54 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.99 ▼0.02 | 39.50 ▲1.04 | 34.92 ▲1.22 |
Add New Post /wp-admin/post-new.php | 1,548 ▲3 | 23.28 ▲0.13 | 671.62 ▼49.07 | 54.76 ▲1.26 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.22 ▲0.11 | 94.68 ▼25.29 | 40.35 ▼10.60 |
post search and order /wp-admin/options-general.php?page=post_search_and_order_setting | 886 | 2.06 | 22.99 | 58.95 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
7 plugin tags: customfield, sort, filter, period, order...
post-search-and-order/psao.php 92% from 13 tests
The principal PHP file in "post search and order" v. 1.1 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("post-search-and-order.php" instead of "psao.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
Good job! No executable or dangerous file extensions detected20,341 lines of code in 224 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 174 | 4,158 | 1,086 | 16,950 |
PHP | 20 | 154 | 214 | 1,406 |
Markdown | 6 | 204 | 0 | 637 |
Sass | 12 | 169 | 10 | 614 |
CSS | 3 | 71 | 12 | 486 |
YAML | 5 | 6 | 6 | 129 |
JSON | 4 | 0 | 0 | 119 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 37 | |
▷ Named functions | 31 | 83.78% |
▷ Anonymous functions | 6 | 16.22% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin