Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.16MB] [CPU: ▼12.74ms] Passed 4 tests
Analyzing server-side resources used by BirdSeed
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 39.12 ▼10.42 |
Dashboard /wp-admin | 3.21 ▼0.09 | 35.88 ▼10.19 |
Posts /wp-admin/edit.php | 3.28 ▼0.08 | 36.45 ▼13.98 |
Add New Post /wp-admin/post-new.php | 5.45 ▼0.44 | 78.29 ▼16.35 |
Media Library /wp-admin/upload.php | 3.22 ▼0.02 | 36.57 ▲1.69 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
BirdSeed: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲89 | 14.74 ▲0.43 | 1.76 ▼0.13 | 44.51 ▼3.45 |
Dashboard /wp-admin | 2,241 ▲50 | 6.00 ▲1.08 | 108.98 ▲0.69 | 70.36 ▲26.56 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 2.02 ▼0.01 | 38.83 ▼2.82 | 38.33 ▼0.84 |
Add New Post /wp-admin/post-new.php | 1,708 ▲194 | 24.76 ▲7.33 | 683.75 ▼5.55 | 53.79 ▼2.05 |
Media Library /wp-admin/upload.php | 1,420 ▲32 | 4.23 ▲0.03 | 96.38 ▼12.39 | 46.97 ▲2.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/birdseed/views/admin.php
- > /wp-content/plugins/birdseed/views/public.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Undefined variable: birdseed_token in wp-content/plugins/birdseed/views/public.php on line 1
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== birdseed ===
) - Screenshots: A description for screenshot #1 is required in birdseed/assets to your readme.txt
birdseed/birdseed.php Passed 13 tests
This is the main PHP file of "BirdSeed" version 2.2.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
62 characters long description:
Adds the BirdSeed widget embed code to your Wordpress website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected72 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 13 | 28 | 72 |
PHP code Passed 2 tests
A short review 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.38 |
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 | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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
3 PNG files occupy 0.08MB with 0.06MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 9.14KB | 3.59KB | ▼ 60.73% |
assets/icon-256x256.png | 10.16KB | 3.63KB | ▼ 64.28% |
assets/screenshot-1.png | 65.09KB | 13.13KB | ▼ 79.83% |