Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼308.80ms] Passed 4 tests
A check of server-side resources used by Admin Columns - Icons Add-on
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.08 | 60.89 ▲10.01 |
Dashboard /wp-admin | 3.50 ▲0.08 | 42.74 ▲5.28 |
Posts /wp-admin/edit.php | 3.72 ▲0.08 | 40.14 ▼3.88 |
Add New Post /wp-admin/post-new.php | 6.96 ▼0.01 | 101.68 ▼1,241.48 |
Media Library /wp-admin/upload.php | 3.37 ▲0.07 | 34.19 ▲4.88 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Admin Columns - Icons Add-on: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,795 ▲49 | 16.25 ▲0.58 | 5.79 ▼0.11 | 2.60 ▲0.45 |
Dashboard /wp-admin | 2,888 ▲35 | 6.07 ▼0.06 | 118.62 ▼9.55 | 154.31 ▼13.45 |
Posts /wp-admin/edit.php | 2,657 ▼37 | 3.23 ▼0.01 | 67.37 ▲0.84 | 175.62 ▲31.49 |
Add New Post /wp-admin/post-new.php | 1,752 ▲54 | 22.01 ▼0.10 | 458.38 ▲43.78 | 159.05 ▼57.00 |
Media Library /wp-admin/upload.php | 1,698 ▲3 | 5.46 ▼0.08 | 139.64 ▼14.66 | 189.79 ▼26.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
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
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: icon, icons, addon, admin columns, overview...
admin-columns-icons-addon/cac-addon-icons.php 92% from 13 tests
The main file in "Admin Columns - Icons Add-on" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("admin-columns-icons-addon.php" instead of "cac-addon-icons.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
No dangerous file extensions were detected503 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 1 | 0 | 0 | 237 |
PHP | 1 | 32 | 93 | 167 |
JavaScript | 1 | 18 | 1 | 53 |
CSS | 1 | 9 | 5 | 46 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 28.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 4.00 |
▷ 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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 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
No PNG images were found in this plugin