Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.83ms] Passed 4 tests
A check of server-side resources used by Create Category Post List
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.97 ▼4.11 |
Dashboard /wp-admin | 3.32 ▲0.02 | 43.67 ▼8.96 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.02 ▼1.35 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 88.20 ▼4.89 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 37.10 ▲3.87 |
Create Category Post List /wp-admin/options-general.php?page=category_post_list | 3.07 | 27.07 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
CategoryPostList_Settings |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Create Category Post List
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.69 ▼0.73 | 1.80 ▼0.05 | 40.89 ▼2.97 |
Dashboard /wp-admin | 2,210 ▲22 | 5.89 ▲0.98 | 107.21 ▼6.51 | 38.75 ▼4.17 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.04 | 39.94 ▲2.03 | 34.74 ▼3.93 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 18.26 ▼5.00 | 646.59 ▼21.90 | 53.81 ▲3.22 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.24 ▲0.05 | 100.32 ▼0.18 | 43.39 ▼3.35 |
Create Category Post List /wp-admin/options-general.php?page=category_post_list | 1,146 | 1.99 | 32.00 | 56.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- CategoryPostList_Settings
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=category_post_list
- > Warning in wp-content/plugins/category-post-list/CategoryPostList.php+298
filemtime(): stat failed for wp-content/plugins/CategoryPostList/Scripts/toastr.min.js
- > GET request to /wp-admin/options-general.php?page=category_post_list
- > Warning in wp-content/plugins/category-post-list/CategoryPostList.php+304
filemtime(): stat failed for wp-content/plugins/CategoryPostList/Scripts/MyCommonLibrary.js
- > GET request to /wp-admin/options-general.php?page=category_post_list
- > Warning in wp-content/plugins/category-post-list/CategoryPostList.php+308
filemtime(): stat failed for wp-content/plugins/CategoryPostList/Scripts/Setting.js
- > GET request to /wp-admin/options-general.php?page=category_post_list
- > Notice in wp-content/plugins/category-post-list/CategoryPostList.php+317
Undefined index: category
- > GET request to /wp-admin/options-general.php?page=category_post_list
- > Warning in wp-content/plugins/category-post-list/CategoryPostList.php+326
filemtime(): stat failed for wp-content/plugins/CategoryPostList/Scripts/Setting.css
- > GET request to /wp-admin/options-general.php?page=category_post_list
- > Warning in wp-content/plugins/category-post-list/CategoryPostList.php+330
filemtime(): stat failed for wp-content/plugins/CategoryPostList/Scripts/GoogleMaterialIcons.css
- > GET request to /wp-admin/options-general.php?page=category_post_list
- > Warning in wp-content/plugins/category-post-list/CategoryPostList.php+334
filemtime(): stat failed for wp-content/plugins/CategoryPostList/Scripts/toastr.min.css
SRP 50% 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 fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/category-post-list/CategoryPostList.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: post, export, create, category, list
category-post-list/CategoryPostList.php 85% from 13 tests
The main PHP script in "Create Category Post List" version 2.2 is automatically included on every request by WordPress
You should first fix the following items:
- Text Domain: The text domain should only use lowercase characters and dashes
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("category-post-list.php" instead of "CategoryPostList.php")
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
No dangerous file extensions were detected1,151 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 151 | 104 | 599 |
PHP | 1 | 62 | 18 | 318 |
CSS | 3 | 18 | 5 | 152 |
PO File | 1 | 31 | 31 | 82 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 2.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 9 | 100.00% |
▷ Public constants | 9 | 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