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.24MB] [CPU: ▲2.21ms] Passed 4 tests
Server-side resources used by Archive Post Order Plus
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 38.62 ▼1.43 |
Dashboard /wp-admin | 3.57 ▲0.27 | 51.76 ▲4.94 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 53.49 ▲2.99 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 103.51 ▲7.43 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 35.33 ▲2.32 |
Display number / target setting /wp-admin/admin.php?page=apop_post_sort | 3.43 | 36.13 |
Sorting /wp-admin/admin.php?page=apop_post_sort_setting | 3.44 | 39.39 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Archive Post Order Plus
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,863 ▲128 | 13.18 ▼1.11 | 1.71 ▼0.01 | 36.39 ▼14.60 |
Dashboard /wp-admin | 2,244 ▲56 | 4.89 ▼0.00 | 113.11 ▲1.08 | 40.35 ▼1.12 |
Posts /wp-admin/edit.php | 2,131 ▲39 | 2.36 ▲0.33 | 40.14 ▼0.45 | 36.49 ▲0.04 |
Add New Post /wp-admin/post-new.php | 6,486 ▲4,972 | 23.25 ▲5.74 | 833.61 ▲180.13 | 53.54 ▼8.50 |
Media Library /wp-admin/upload.php | 1,430 ▲42 | 4.39 ▲0.15 | 101.44 ▲0.56 | 42.32 ▼4.67 |
Display number / target setting /wp-admin/admin.php?page=apop_post_sort | 972 | 2.18 | 31.03 | 38.41 |
Sorting /wp-admin/admin.php?page=apop_post_sort_setting | 1,924 | 2.58 | 62.49 | 39.14 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/archive-post-order-plus/template/success.php:2
- > PHP Fatal error
Uncaught Error: Class 'APOP_UI' not found in wp-content/plugins/archive-post-order-plus/template/order.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/archive-post-order-plus/archive-post-order-plus.php:27
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/archive-post-order-plus/template/setting_post_custom_field.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/archive-post-order-plus/template/setting.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6, #7, #8 in archive-post-order-plus/assets to your readme.txt
archive-post-order-plus/archive-post-order-plus.php 85% from 13 tests
The main file in "Archive Post Order Plus" v. 1.2.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
- Description: Please keep the plugin description shorter than 140 characters (currently 219 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin3,596 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 217 | 135 | 1,721 |
CSS | 2 | 121 | 49 | 1,530 |
JavaScript | 2 | 31 | 10 | 223 |
PO File | 1 | 51 | 73 | 122 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 22.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 3.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 5 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 75 | |
▷ Static methods | 45 | 60.00% |
▷ Public methods | 31 | 41.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 44 | 58.67% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 4 | 66.67% |
▷ Class constants | 2 | 33.33% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin