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
Installer ran successfully
Server metrics [RAM: ▼0.02MB] [CPU: ▼300.43ms] Passed 4 tests
Analyzing server-side resources used by 4cgandhi
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.01 | 54.43 ▲1.73 |
Dashboard /wp-admin | 3.41 ▲0.00 | 34.16 ▲1.39 |
Posts /wp-admin/edit.php | 3.64 ▲0.00 | 38.11 ▼0.19 |
Add New Post /wp-admin/post-new.php | 6.88 ▼0.09 | 94.03 ▼1,204.64 |
Media Library /wp-admin/upload.php | 3.29 ▲0.00 | 27.69 ▲4.05 |
Server storage [IO: ▲0.07MB] [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: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for 4cgandhi
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,791 ▲37 | 15.87 ▼0.08 | 6.71 ▲0.42 | 2.47 ▼0.49 |
Dashboard /wp-admin | 2,892 ▲38 | 6.01 ▼0.27 | 116.04 ▼28.56 | 152.50 ▼4.80 |
Posts /wp-admin/edit.php | 2,694 ▲9 | 3.24 ▲0.00 | 63.25 ▲0.41 | 142.26 ▼0.55 |
Add New Post /wp-admin/post-new.php | 1,711 ▲50 | 20.76 ▲4.69 | 434.29 ▼3.01 | 145.36 ▼12.05 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.55 ▲0.02 | 144.50 ▲4.07 | 187.39 ▲5.06 |
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 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 75% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Tested up to: The plugin version is formatted incorrectly
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
- Screenshots: These screenshots require images: #1 (plugin_settings.png), #2 (display-frontend-demo.png)
- Requires php: The plugin version is formatted incorrectly
4cgandhi/4cgandhi.php 92% from 13 tests
"4cgandhi" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 209 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin877 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 512 | 262 | 816 |
PHP | 1 | 10 | 16 | 52 |
CSS | 1 | 0 | 0 | 9 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
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 | 2 | |
▷ Named functions | 2 | 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