Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼10.45ms] Passed 4 tests
Server-side resources used by Fantasy Football
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.52 ▼7.27 |
Dashboard /wp-admin | 3.31 ▼0.03 | 46.92 ▼18.84 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 51.52 ▲1.09 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 87.27 ▼16.77 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.80 ▲1.35 |
FN Settings /wp-admin/options-general.php?page=ffn_settings | 3.20 | 33.01 |
Server storage [IO: ▲9.97MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 243 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Fantasy Football
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲60 | 13.22 ▼1.16 | 1.81 ▲0.04 | 44.48 ▲4.17 |
Dashboard /wp-admin | 2,228 ▲25 | 5.90 ▲1.01 | 104.82 ▼12.16 | 39.40 ▼6.10 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 1.97 ▼0.04 | 37.12 ▲0.73 | 35.44 ▼3.36 |
Add New Post /wp-admin/post-new.php | 1,557 ▲12 | 23.25 ▲0.13 | 654.05 ▼16.56 | 55.53 ▼9.64 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.23 ▲0.03 | 108.35 ▲2.95 | 47.62 ▲0.54 |
FN Settings /wp-admin/options-general.php?page=ffn_settings | 809 | 2.03 | 27.61 | 28.35 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following
- 20× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/fantasy-football/1.5.2/tags/1.5.1/tags/1.0.2/tags/1.0.1/fantasy-football.php
- > /wp-content/plugins/fantasy-football/1.5.2/tags/1.5.1/tags/1.1.0/fantasy-football.php
- > /wp-content/plugins/fantasy-football/1.5.2/tags/1.0.2/trunk/fantasy-football.php
- > /wp-content/plugins/fantasy-football/1.5.2/tags/1.0.3/fantasy-football.php
- > /wp-content/plugins/fantasy-football/1.5.2/tags/1.5.1/tags/1.0.2/trunk/fantasy-football.php
- > /wp-content/plugins/fantasy-football/1.5.2/tags/1.5.1/tags/1.1.1/fantasy-football.php
- > /wp-content/plugins/fantasy-football/1.5.2/tags/1.5.1/tags/1.0.3/fantasy-football.php
- > /wp-content/plugins/fantasy-football/1.5.2/tags/1.0.1/fantasy-football.php
- > /wp-content/plugins/fantasy-football/1.5.2/tags/1.0.2/tags/1.0/fantasy-football.php
- > /wp-content/plugins/fantasy-football/1.5.2/tags/1.1.2/fantasy-football.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: fantasy basketball, fantasy baseball, fantasy football
fantasy-football/fantasy-football.php 69% from 13 tests
"Fantasy Football" version 3.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Domain Path: The domain path must begin with a forward slash character ("/")
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Description: Please don't use more than 140 characters for the plugin description (currently 320 characters long)
- Domain Path: The domain path should use only dashes and lowercase characters ("")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected14,898 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 800 | 2,566 | 8,896 |
CSS | 4 | 72 | 35 | 6,002 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
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 | 942 | |
▷ Named functions | 942 | 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
2 compressed PNG files occupy 0.42MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 101.98KB | 109.25KB | 0.00% |
assets/banner-1544x500.png | 328.68KB | 359.50KB | 0.00% |