Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.69ms] Passed 4 tests
This is a short check of server-side resources used by I Order Terms
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.79 ▼0.36 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.21 ▼7.51 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 45.82 ▲1.42 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 82.53 ▼8.19 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 34.86 ▲1.30 |
I Order Terms /wp-admin/options-general.php?page=i-order-terms-options | 3.22 | 32.91 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
I Order Terms: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.68 ▼0.68 | 1.69 ▼0.03 | 40.77 ▼5.58 |
Dashboard /wp-admin | 2,213 ▲22 | 4.80 ▼0.09 | 102.56 ▲0.00 | 40.16 ▼0.21 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.03 | 34.77 ▲0.01 | 30.27 ▼5.54 |
Add New Post /wp-admin/post-new.php | 1,545 ▲11 | 18.60 ▼4.78 | 635.69 ▼40.62 | 54.27 ▲0.26 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.26 ▼0.03 | 95.38 ▼10.85 | 43.11 ▼6.42 |
I Order Terms /wp-admin/options-general.php?page=i-order-terms-options | 841 | 2.03 | 23.97 | 28.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
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 everything seems fine, this is not 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
Please take a closer look at the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/i-order-terms/i-order-terms.php
- > /wp-content/plugins/i-order-terms/code/class-i-order-terms.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)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: terms, sort, taxonomy, order
i-order-terms/i-order-terms.php Passed 13 tests
Analyzing the main PHP file in "I Order Terms" version 1.5.0
87 characters long description:
Allows theme developers to add order/sort functionality for categories, tags and terms.
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 detected516 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 152 | 257 | 396 |
JavaScript | 2 | 31 | 24 | 109 |
CSS | 2 | 1 | 4 | 11 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 85.00 |
▷ Minimum class complexity | 85.00 |
▷ Maximum class complexity | 85.00 |
Average method complexity | 5.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.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 | 20 | |
▷ Static methods | 2 | 10.00% |
▷ Public methods | 18 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 10.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin