Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.57ms] Passed 4 tests
Analyzing server-side resources used by Advanced Flamingo
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 45.01 ▼0.85 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.08 ▼3.23 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.16 ▼6.76 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.01 ▼23.42 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 41.18 ▲1.86 |
Advanced Flamingo /wp-admin/admin.php?page=advanced-flamingo | 3.00 | 25.01 |
Server storage [IO: ▲1.19MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Advanced Flamingo
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.38 ▲0.03 | 1.77 ▲0.13 | 43.49 ▲2.65 |
Dashboard /wp-admin | 2,192 ▲12 | 5.54 ▼0.12 | 90.56 ▼5.99 | 42.66 ▼1.98 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.98 ▼0.05 | 33.44 ▼5.97 | 35.13 ▼4.40 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.89 ▲0.83 | 746.98 ▲38.00 | 80.01 ▲33.50 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.29 ▲0.12 | 111.00 ▼5.15 | 46.54 ▼5.02 |
Advanced Flamingo /wp-admin/admin.php?page=advanced-flamingo | 28 | 0.42 | 0.06 | 4.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > 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
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: message storage, contact, contact form, flamingo, mail
advanced-flamingo/advanced-flamingo.php 92% from 13 tests
Analyzing the main PHP file in "Advanced Flamingo" version 1.0
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 175 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous 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 short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
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% |