Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.08MB] [CPU: ▲4.51ms] 75% from 4 tests
Server-side resources used by Real Custom Post Order: Create a custom order for your content
Please take the time to fix the following items
- CPU: You should keep total CPU usage under 500.00ms (currently 609.15ms on /wp-admin/admin.php?page=real-custom-post-order-welcome)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.55 ▲1.09 | 45.42 ▲8.71 |
Dashboard /wp-admin | 4.39 ▲1.05 | 63.08 ▲5.65 |
Posts /wp-admin/edit.php | 4.46 ▲1.10 | 60.44 ▲9.00 |
Add New Post /wp-admin/post-new.php | 7.01 ▲1.13 | 91.53 ▼5.32 |
Media Library /wp-admin/upload.php | 4.32 ▲1.09 | 43.77 ▲12.56 |
Real Custom Post Order /wp-admin/admin.php?page=real-custom-post-order-welcome | 4.58 | 609.15 |
Server storage [IO: ▲0.85MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 122 new files
Database: no new tables, 10 new options
New WordPress options |
---|
db_upgraded |
rcpo-post-active-post |
widget_recent-posts |
theysaidso_admin_options |
rcpo_db_migration |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
rcpo_db_version |
rcpo-post-active-wp_block |
Browser metrics Passed 4 tests
A check of browser resources used by Real Custom Post Order: Create a custom order for your content
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲68 | 14.21 ▼0.07 | 1.61 ▼0.02 | 43.07 ▲1.60 |
Dashboard /wp-admin | 2,223 ▲42 | 5.67 ▼0.04 | 85.91 ▼27.78 | 39.22 ▼2.98 |
Posts /wp-admin/edit.php | 2,188 ▲88 | 2.96 ▲0.95 | 54.60 ▲13.03 | 38.36 ▲2.42 |
Add New Post /wp-admin/post-new.php | 1,551 ▲20 | 23.39 ▲0.24 | 646.98 ▲40.23 | 48.01 ▼8.25 |
Media Library /wp-admin/upload.php | 1,425 ▲25 | 4.18 ▲0.02 | 97.93 ▲2.44 | 44.87 ▲2.26 |
Real Custom Post Order /wp-admin/admin.php?page=real-custom-post-order-welcome | 1,510 | 2.53 | 42.14 | 117.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure has failed, leaving 10 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- rcpo_db_version
- rcpo_db_migration
- rcpo-post-active-post
- rcpo-post-active-wp_block
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 45× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/real-custom-post-order/vendor/devowl-wp/utils/src/Localization.php
- > /wp-content/plugins/real-custom-post-order/inc/base/others/start.php
- > /wp-content/plugins/real-custom-post-order/inc/base/others/fallback-rest-api.php
- > /wp-content/plugins/real-custom-post-order/vendor/devowl-wp/real-utils/src/view/Options.php
- > /wp-content/plugins/real-custom-post-order/vendor/devowl-wp/real-utils/src/cross/CrossRealMediaLibrary.php
- > /wp-content/plugins/real-custom-post-order/vendor/devowl-wp/utils/src/Base.php
- > /wp-content/plugins/real-custom-post-order/inc/base/others/fallback-php-version.php
- > /wp-content/plugins/real-custom-post-order/vendor/devowl-wp/real-utils/src/Core.php
- > /wp-content/plugins/real-custom-post-order/vendor/devowl-wp/real-utils/src/RatingHandler.php
- > /wp-content/plugins/real-custom-post-order/vendor/devowl-wp/real-utils/src/TransientHandler.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function PHPSTORM_META\\expectedArguments() in wp-content/plugins/real-custom-post-order/vendor/colinodell/json5/.phpstorm.meta.php:7
- > PHP Fatal error
Uncaught Error: Class 'DevOwl\\RealCustomPostOrder\\Vendor\\MatthiasWeb\\WpdbBatch\\AbstractBatch' not found in wp-content/plugins/real-custom-post-order/vendor/matthiasweb/wpdb-batch/src/Update.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
real-custom-post-order/index.php 85% from 13 tests
The main PHP script in "Real Custom Post Order: Create a custom order for your content" version 1.3.72 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("real-custom-post-order.php" instead of "index.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 145 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin10,977 lines of code in 97 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Markdown | 8 | 2,721 | 0 | 5,102 |
PHP | 70 | 218 | 3,388 | 4,824 |
JSON | 5 | 0 | 0 | 1,031 |
CSS | 5 | 0 | 0 | 10 |
JavaScript | 9 | 2 | 18 | 10 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 15.31 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 111.00 |
Average method complexity | 2.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 15 | |
Interfaces | 0 | |
Traits | 8 | |
Classes | 43 | |
▷ Abstract classes | 5 | 11.63% |
▷ Concrete classes | 38 | 88.37% |
▷ Final classes | 3 | 7.89% |
Methods | 386 | |
▷ Static methods | 69 | 17.88% |
▷ Public methods | 314 | 81.35% |
▷ Protected methods | 35 | 9.07% |
▷ Private methods | 37 | 9.59% |
Functions | 25 | |
▷ Named functions | 4 | 16.00% |
▷ Anonymous functions | 21 | 84.00% |
Constants | 99 | |
▷ Global constants | 21 | 21.21% |
▷ Class constants | 78 | 78.79% |
▷ Public constants | 78 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin