Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.11MB] [CPU: ▼141.14ms] Passed 4 tests
This is a short check of server-side resources used by azurecurve Get Plugin Info
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.95 ▲0.11 | 38.69 ▲1.59 |
Dashboard /wp-admin | 3.17 ▲0.11 | 47.66 ▲0.02 |
Posts /wp-admin/edit.php | 3.25 ▲0.15 | 46.56 ▲2.70 |
Add New Post /wp-admin/post-new.php | 5.53 ▲0.09 | 99.49 ▼566.62 |
Media Library /wp-admin/upload.php | 3.11 ▲0.11 | 35.86 ▲0.47 |
Get Plugin Info /wp-admin/admin.php?page=azc-gpi | 3.08 | 34.90 |
Plugins /wp-admin/admin.php?page=azc-plugin-menus | 3.08 | 32.49 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
azurecurve Get Plugin Info: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,717 ▲145 | 15.82 ▲0.28 | 10.04 ▲0.85 | 49.25 ▼1.13 |
Dashboard /wp-admin | 2,996 ▲65 | 5.95 ▼0.16 | 149.42 ▼21.25 | 147.83 ▲23.05 |
Posts /wp-admin/edit.php | 2,790 ▲51 | 2.69 ▼0.01 | 70.55 ▼0.22 | 95.82 ▼4.10 |
Add New Post /wp-admin/post-new.php | 1,707 ▲24 | 18.80 ▲0.03 | 421.97 ▲17.06 | 124.68 ▲7.87 |
Media Library /wp-admin/upload.php | 1,787 ▼20 | 5.01 ▲0.03 | 135.67 ▼29.35 | 161.55 ▲35.47 |
Get Plugin Info /wp-admin/admin.php?page=azc-gpi | 1,297 | 2.09 | 60.93 | 101.53 |
Plugins /wp-admin/admin.php?page=azc-plugin-menus | 1,122 | 2.08 | 56.69 | 84.91 |
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
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/azurecurve-get-plugin-info/includes/menu.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/azurecurve-get-plugin-info/includes/menu.php:29
- > 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 93% 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
6 plugin tags: classicpress, shortcode, wordpress, info, plugin...
azurecurve-get-plugin-info/azurecurve-get-plugin-info.php 85% from 13 tests
The entry point to "azurecurve Get Plugin Info" version 2.0.2 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin853 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 124 | 19 | 825 |
CSS | 2 | 1 | 5 | 28 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
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 | 31 | |
▷ Named functions | 31 | 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
PNG files should be compressed to save space and minimize bandwidth usage
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/star.png | 0.65KB | 0.72KB | 0.00% |
images/Favicon-16x16.png | 0.40KB | 0.34KB | ▼ 14.81% |
images/greystar.png | 0.58KB | 0.58KB | 0.34% |