Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼142.28ms] Passed 4 tests
A check of server-side resources used by Custom Category Listing Page
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 35.03 ▲11.96 |
Dashboard /wp-admin | 3.07 ▲0.02 | 37.71 ▼7.59 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 48.17 ▼6.87 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.00 | 84.25 ▼555.39 |
Media Library /wp-admin/upload.php | 3.02 ▲0.01 | 31.42 ▲0.72 |
Server storage [IO: ▲1.29MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 43 new files
Database: no new tables, 2 new options
New WordPress options |
---|
troo_post_type |
troo_taxonomy |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Custom Category Listing Page
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,688 ▲51 | 15.81 ▲0.19 | 8.04 ▲0.48 | 45.78 ▼7.33 |
Dashboard /wp-admin | 2,975 ▲44 | 5.93 ▲0.03 | 133.94 ▼6.58 | 105.30 ▼7.22 |
Posts /wp-admin/edit.php | 2,741 ▲5 | 2.70 ▲0.01 | 63.51 ▲1.72 | 90.53 ▲0.27 |
Add New Post /wp-admin/post-new.php | 1,683 ▲185 | 17.62 ▼1.23 | 357.86 ▼9.05 | 103.04 ▼1.78 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.05 ▲0.04 | 146.99 ▼2.04 | 109.96 ▼10.51 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 2 options
- troo_taxonomy
- troo_post_type
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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
The following issues need your attention
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_post_thumbnail_url() in wp-content/plugins/custom-category-listing-page/templates/default.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/custom-category-listing-page/custom-category-listing-page.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% 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
These attributes need your attention:
- Donate link: Invalid URI ("")
custom-category-listing-page/custom-category-listing-page.php Passed 13 tests
The entry point to "Custom Category Listing Page" version 2.0.5 is a PHP file that has certain tags in its header comment area
95 characters long description:
A simple shortcode to list the Products And Posts for each Category by Order ex: [post_listing]
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected9,301 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
CSS | 4 | 31 | 13 | 2,526 |
Sass | 14 | 34 | 34 | 1,768 |
LESS | 14 | 34 | 44 | 1,758 |
PHP | 2 | 16 | 18 | 420 |
JavaScript | 2 | 1 | 4 | 158 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 66.00 |
▷ Minimum class complexity | 66.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 3.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
PNG images were not found in this plugin