Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼7.05ms] Passed 4 tests
An overview of server-side resources used by Easy Footnotes
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 47.32 ▲9.80 |
Dashboard /wp-admin | 3.35 ▲0.05 | 46.13 ▼0.61 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 45.61 ▼1.74 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 78.64 ▼25.08 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 33.68 ▼0.78 |
Easy Footnotes /wp-admin/options-general.php?page=easy-footnotes-settings | 3.25 | 30.72 |
Server storage [IO: ▲0.54MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 19 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
easy_footnotes_options |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Footnotes
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 13.36 ▼1.26 | 4.90 ▲3.22 | 42.69 ▼0.92 |
Dashboard /wp-admin | 2,214 ▲26 | 6.01 ▲0.10 | 102.45 ▲2.54 | 44.09 ▲1.33 |
Posts /wp-admin/edit.php | 2,097 ▲5 | 2.04 ▼0.01 | 34.93 ▼9.06 | 35.59 ▼0.24 |
Add New Post /wp-admin/post-new.php | 1,522 ▲5 | 23.53 ▲5.90 | 696.83 ▲88.38 | 67.35 ▲13.46 |
Media Library /wp-admin/upload.php | 1,393 ▲5 | 4.21 ▲0.02 | 93.35 ▼4.60 | 40.77 ▼3.09 |
Easy Footnotes /wp-admin/options-general.php?page=easy-footnotes-settings | 801 | 2.20 | 24.68 | 25.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- easy_footnotes_options
- widget_recent-comments
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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/easy-footnotes/easy-footnotes.php:52
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/easy-footnotes/easy-footnotes-admin.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
- Screenshots: These screenshots do not have images: #1 (Displaying a footnote on hover.), #2 (Several footnotes (feetnote?) at the bottom of the post.)
easy-footnotes/easy-footnotes.php Passed 13 tests
The main PHP script in "Easy Footnotes" version 1.1.6 is automatically included on every request by WordPress
59 characters long description:
Easily add footnotes to your posts with a simple shortcode.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected3,035 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 602 | 563 | 2,386 |
CSS | 4 | 131 | 71 | 476 |
PHP | 2 | 59 | 83 | 173 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin