Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.74ms] Passed 4 tests
Server-side resources used by FireFly Effect on WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.25 ▼4.68 |
Dashboard /wp-admin | 3.31 ▲0.01 | 43.44 ▼6.28 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.48 ▼9.96 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 96.04 ▼10.05 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.42 ▼0.81 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by FireFly Effect on WordPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.26 ▼1.13 | 1.69 ▲0.05 | 42.46 ▼2.84 |
Dashboard /wp-admin | 2,206 ▲18 | 5.85 ▼0.08 | 107.64 ▼2.40 | 43.29 ▲0.97 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.00 ▼0.11 | 39.65 ▼0.58 | 34.12 ▼4.99 |
Add New Post /wp-admin/post-new.php | 1,514 ▼0 | 17.71 ▲0.08 | 612.72 ▼23.76 | 60.47 ▲11.89 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.23 ▼0.03 | 95.82 ▼2.72 | 42.25 ▲0.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
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)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Plugin Name: You should set the name of your plugin on the first line (
=== firefly-effect-jquery ===
)
firefly-effect-jquery/init.php 85% from 13 tests
The primary PHP file in "FireFly Effect on WordPress" version 1.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 195 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("firefly-effect-jquery.php" instead of "init.php")
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
No dangerous file extensions were detected68 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 11 | 13 | 44 |
PHP | 1 | 5 | 12 | 19 |
CSS | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 1 | |
▷ Named functions | 1 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/spark4.png | 0.30KB | 0.15KB | ▼ 49.35% |
img/spark3.png | 0.72KB | 0.45KB | ▼ 37.96% |
img/spark2.png | 0.45KB | 0.29KB | ▼ 35.70% |
img/spark.png | 0.35KB | 0.21KB | ▼ 40.83% |