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.00MB] [CPU: ▼137.73ms] Passed 4 tests
Analyzing server-side resources used by Custom Tags List
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.13 | 37.24 ▲15.37 |
Dashboard /wp-admin | 3.07 ▲0.01 | 47.22 ▼1.57 |
Posts /wp-admin/edit.php | 3.12 ▲0.00 | 50.90 ▼1.30 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.01 | 90.54 ▼547.30 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 34.38 ▼0.74 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Custom Tags List
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲66 | 15.89 ▲0.01 | 10.15 ▼0.33 | 51.24 ▲0.27 |
Dashboard /wp-admin | 2,967 ▲36 | 5.90 ▼0.05 | 140.77 ▼21.82 | 118.99 ▼1.52 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.70 ▲0.01 | 75.41 ▲1.30 | 92.86 ▼5.52 |
Add New Post /wp-admin/post-new.php | 1,683 ▼0 | 18.73 ▼0.04 | 374.40 ▼5.59 | 119.93 ▲9.46 |
Media Library /wp-admin/upload.php | 1,807 ▼3 | 5.00 ▼0.08 | 156.72 ▲10.34 | 125.63 ▼5.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
Smoke tests Passed 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 Passed 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 SRP test was a success
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 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
1 plugin tags: tags
custom-tags-lists/customtagslist.php 92% from 13 tests
Analyzing the main PHP file in "Custom Tags List" version 0.2.1
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("custom-tags-lists.php" instead of "customtagslist.php")
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
Success! There were no dangerous files found in this plugin159 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 21 | 24 | 159 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
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 | 12 | |
▷ Named functions | 12 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected