Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▼0.22MB] [CPU: ▼16.29ms] Passed 4 tests
Analyzing server-side resources used by Fyndle Setup
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.47 ▲2.07 |
Dashboard /wp-admin | 3.07 ▼0.23 | 33.49 ▼14.03 |
Posts /wp-admin/edit.php | 3.21 ▼0.14 | 37.52 ▼18.91 |
Add New Post /wp-admin/post-new.php | 5.45 ▼0.43 | 70.85 ▼29.81 |
Media Library /wp-admin/upload.php | 3.16 ▼0.07 | 29.73 ▼2.42 |
Fyndle Setup /wp-admin/options-general.php?page=Fyndle_Setup | 3.06 | 25.16 |
Server storage [IO: ▲1.41MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Fyndle Setup
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.24 ▼0.11 | 1.55 ▼0.23 | 45.64 ▲3.58 |
Dashboard /wp-admin | 2,198 ▲24 | 5.55 ▲0.01 | 86.73 ▼2.58 | 39.44 ▼2.43 |
Posts /wp-admin/edit.php | 2,088 ▼12 | 2.04 ▲0.01 | 36.24 ▼5.14 | 35.48 ▼5.34 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.04 ▼0.10 | 633.09 ▲2.92 | 55.41 ▲7.88 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.18 ▼0.10 | 97.41 ▼8.94 | 43.09 ▼2.35 |
Fyndle Setup /wp-admin/options-general.php?page=Fyndle_Setup | 813 | 2.02 | 28.53 | 46.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=Fyndle_Setup
- > Notice in wp-content/plugins/fyndle-setup/fyndle_setup.php+79
Undefined property: WP_Fyndle_Setup::$constants
- > GET request to /wp-admin/options-general.php?page=Fyndle_Setup
- > Notice in wp-content/plugins/fyndle-setup/fyndle_setup.php+79
Trying to access array offset on value of type null
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== fyndle-setup ===
)
fyndle-setup/fyndle_setup.php 92% from 13 tests
The main PHP script in "Fyndle Setup" version 1.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("fyndle-setup.php" instead of "fyndle_setup.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin859 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 104 | 6 | 735 |
PHP | 2 | 85 | 34 | 124 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 8 | |
▷ Static methods | 1 | 12.50% |
▷ Public methods | 8 | 100.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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 1.38MB with 0.83MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-1544x500.png | 924.70KB | 423.59KB | ▼ 54.19% |
assets/icon-256x256.png | 34.08KB | 14.35KB | ▼ 57.88% |
assets/icon-128x128.png | 12.20KB | 5.11KB | ▼ 58.16% |
assets/banner-772x250.png | 256.70KB | 113.42KB | ▼ 55.82% |
assets/screenshot-1.png | 184.08KB | 45.70KB | ▼ 75.17% |