Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼290.46ms] Passed 4 tests
A check of server-side resources used by Advanced Category Template
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.02 | 51.56 ▲1.24 |
Dashboard /wp-admin | 3.43 ▲0.03 | 35.98 ▲3.00 |
Posts /wp-admin/edit.php | 3.66 ▲0.02 | 43.65 ▲7.06 |
Add New Post /wp-admin/post-new.php | 6.91 ▼0.06 | 97.24 ▼1,160.02 |
Media Library /wp-admin/upload.php | 3.31 ▲0.01 | 23.05 ▼6.04 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 2 new options
New WordPress options |
---|
advance_category_template |
category_template_status |
Browser metrics Passed 4 tests
A check of browser resources used by Advanced Category Template
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,784 ▲40 | 15.86 ▲0.08 | 6.98 ▲0.03 | 2.26 ▼0.01 |
Dashboard /wp-admin | 2,913 ▲52 | 6.25 ▲0.01 | 112.73 ▼18.64 | 174.14 ▲17.58 |
Posts /wp-admin/edit.php | 2,714 ▲23 | 3.25 ▲0.01 | 66.06 ▲3.52 | 137.35 ▼4.37 |
Add New Post /wp-admin/post-new.php | 1,676 ▼76 | 17.28 ▼4.69 | 385.91 ▼84.57 | 192.15 ▲34.09 |
Media Library /wp-admin/upload.php | 1,717 ▲19 | 5.49 ▼0.03 | 120.55 ▼16.32 | 199.29 ▲10.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 50% 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 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/advanced-category-template/advavanced-category-template.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_taxonomies() in wp-content/plugins/advanced-category-template/_form.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Donate link: Please fix this invalid URI: ""
- Tags: Too many tags (21 tag instead of maximum 10); only the first 5 tags are used in your directory listing
advanced-category-template/advavanced-category-template.php 92% from 13 tests
The main file in "Advanced Category Template" v. 0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("advanced-category-template.php" instead of "advavanced-category-template.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin277 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 54 | 106 | 238 |
CSS | 1 | 3 | 1 | 39 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 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 | 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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
ico.png | 0.45KB | 0.32KB | ▼ 29.93% |