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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼144.79ms] Passed 4 tests
An overview of server-side resources used by Advanced Flamingo
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.00 | 31.22 ▲8.18 |
Dashboard /wp-admin | 3.06 ▼0.00 | 32.00 ▼3.86 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 30.25 ▼0.77 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 69.53 ▼575.33 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 24.00 ▲0.81 |
Advanced Flamingo /wp-admin/admin.php?page=advanced-flamingo | 2.74 | 14.51 |
Server storage [IO: ▲1.19MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Advanced Flamingo
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,666 ▲15 | 15.54 ▼0.16 | 5.21 ▼2.16 | 76.00 ▼1.19 |
Dashboard /wp-admin | 2,933 ▲37 | 6.14 ▲0.01 | 116.48 ▼17.35 | 165.29 ▼6.63 |
Posts /wp-admin/edit.php | 2,743 ▲3 | 3.23 ▼0.01 | 64.95 ▲1.23 | 142.12 ▲1.18 |
Add New Post /wp-admin/post-new.php | 3,735 ▼9 | 18.90 ▼0.18 | 421.55 ▼20.95 | 159.42 ▼10.11 |
Media Library /wp-admin/upload.php | 1,752 ▲3 | 5.49 ▼0.00 | 143.75 ▲1.92 | 185.69 ▲5.67 |
Advanced Flamingo /wp-admin/admin.php?page=advanced-flamingo | 28 | 0.94 | 0.03 | 16.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
The SRP test was a success
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=advanced-flamingo
- > Network (severe)
wp-admin/admin.php?page=advanced-flamingo - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
5 plugin tags: contact, message storage, flamingo, contact form, mail
advanced-flamingo/advanced-flamingo.php 92% from 13 tests
The main PHP file in "Advanced Flamingo" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 175 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin511 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 98 | 49 | 361 |
CSS | 2 | 8 | 6 | 140 |
JavaScript | 2 | 0 | 6 | 10 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 52.00 |
▷ Minimum class complexity | 52.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 2.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/logo.png | 6.21KB | 4.07KB | ▼ 34.55% |