Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/simple-footnotes-editor-button/simple-footnotes-editor-button.php+14
Methods with the same name as their class will not be constructors in a future version of PHP; simple_footnotes_editor_button has a deprecated constructor
Server metrics [RAM: ▼1.93MB] [CPU: ▼54.02ms] Passed 4 tests
An overview of server-side resources used by Simple Footnotes Editor Button
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.39 | 4.70 ▼38.01 |
Dashboard /wp-admin | 2.09 ▼1.26 | 6.65 ▼52.98 |
Posts /wp-admin/edit.php | 2.09 ▼1.27 | 5.81 ▼39.75 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.80 | 5.88 ▼85.34 |
Media Library /wp-admin/upload.php | 2.09 ▼1.14 | 6.28 ▼27.99 |
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: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple Footnotes Editor Button
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.60 ▼0.96 | 1.89 ▼0.36 | 42.09 ▼11.14 |
Dashboard /wp-admin | 2,209 ▲24 | 4.83 ▼1.05 | 110.54 ▲8.17 | 41.54 ▼1.69 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.04 ▲0.03 | 35.78 ▲1.46 | 31.52 ▼6.03 |
Add New Post /wp-admin/post-new.php | 1,514 ▼30 | 17.46 ▼0.94 | 672.52 ▼5.73 | 54.01 ▲3.74 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.22 ▲0.04 | 94.06 ▼7.18 | 42.98 ▼1.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/simple-footnotes-editor-button/simple-footnotes-editor-button.php+14
Methods with the same name as their class will not be constructors in a future version of PHP; simple_footnotes_editor_button has a deprecated constructor
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-footnotes-editor-button/simple-footnotes-editor-button.php:23
- > 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 errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: tinymce, toolbar, button, wysiwig, endnotes...
simple-footnotes-editor-button/simple-footnotes-editor-button.php 85% from 13 tests
"Simple Footnotes Editor Button" version 0.2.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Domain Path: The domain path must begin with a forward slash character ("/languages/")
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin112 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 12 | 51 | 92 |
PO File | 1 | 4 | 8 | 20 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
footnote-icon.png | 1.84KB | 1.06KB | ▼ 42.38% |