Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.06MB] [CPU: ▼143.68ms] Passed 4 tests
A check of server-side resources used by Specify Home Hidden Categories
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.57 ▼0.27 | 20.82 ▼16.68 |
Dashboard /wp-admin | 3.07 ▲0.02 | 47.04 ▲2.72 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 45.51 ▼0.72 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 89.93 ▼559.08 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 33.08 ▲1.78 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Specify Home Hidden Categories
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 16.27 ▲0.25 | 10.92 ▲0.94 | 45.94 ▼0.03 |
Dashboard /wp-admin | 2,973 ▲42 | 5.90 ▼0.08 | 144.12 ▼18.10 | 111.53 ▼2.05 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▲0.02 | 64.84 ▼12.29 | 88.14 ▼0.54 |
Add New Post /wp-admin/post-new.php | 1,682 ▲184 | 18.92 ▲0.07 | 390.66 ▲3.79 | 109.54 ▲2.34 |
Media Library /wp-admin/upload.php | 1,810 ▲3 | 5.00 ▼0.02 | 150.35 ▲2.05 | 118.06 ▲7.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 22 tag instead of maximum 10
specify-home-hidden-categories/index.php 92% from 13 tests
Analyzing the main PHP file in "Specify Home Hidden Categories" version 0.2.2
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("specify-home-hidden-categories.php" instead of "index.php")
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 plugin73 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 16 | 19 | 73 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin