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.09MB] [CPU: ▼0.84ms] Passed 4 tests
A check of server-side resources used by WP-Bigfoot
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 41.83 ▼1.56 |
Dashboard /wp-admin | 3.39 ▲0.08 | 68.75 ▲19.62 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 48.23 ▲0.50 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 81.70 ▼6.52 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.06 ▲4.22 |
Footnotes /wp-admin/edit.php?page=wp-bigfoot/admin/class-wp-bigfoot-admin.php | 3.28 | 29.51 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 33 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
wpbf-options |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for WP-Bigfoot
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,917 ▲182 | 13.76 ▼0.62 | 7.67 ▲5.55 | 42.66 ▼3.17 |
Dashboard /wp-admin | 2,231 ▲43 | 5.11 ▼0.77 | 111.01 ▼1.36 | 40.53 ▼3.96 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.32 ▲0.32 | 41.61 ▲3.51 | 37.25 ▲3.42 |
Add New Post /wp-admin/post-new.php | 1,538 ▲18 | 23.36 ▲0.11 | 585.57 ▼110.05 | 27.70 ▼26.68 |
Media Library /wp-admin/upload.php | 1,414 ▲29 | 4.40 ▲0.24 | 90.88 ▼26.03 | 39.94 ▼8.66 |
Footnotes /wp-admin/edit.php?page=wp-bigfoot/admin/class-wp-bigfoot-admin.php | 941 | 2.37 | 44.06 | 28.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- wpbf-options
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/wp-bigfoot/public/partials/wp-bigfoot-public-display.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-bigfoot/admin/partials/wp-bigfoot-display-custom-css.php:3
- > PHP Fatal error
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)
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (screenshot1.png), #2 (screenshot2.png)
wp-bigfoot/wp-bigfoot.php Passed 13 tests
This is the main PHP file of "WP-Bigfoot" version 2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
69 characters long description:
Easier footnotes for your site, and jQuery Bigfoot for cooler effects
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
There were no executable files found in this plugin2,658 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Sass | 3 | 440 | 661 | 890 |
CSS | 5 | 24 | 8 | 792 |
JavaScript | 5 | 7 | 55 | 649 |
PHP | 11 | 154 | 487 | 312 |
Markdown | 1 | 10 | 0 | 15 |
PHP code Passed 2 tests
An overview of 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.13 |
Average class complexity | 3.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 2 | 5.26% |
▷ Public methods | 33 | 86.84% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 13.16% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot2.png | 59.93KB | 27.33KB | ▼ 54.39% |
screenshot1.png | 19.47KB | 6.67KB | ▼ 65.77% |