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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▲1.09ms] Passed 4 tests
An overview of server-side resources used by Inline Footnotes
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.80 ▼0.33 |
Dashboard /wp-admin | 3.34 ▲0.04 | 56.12 ▲9.12 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 47.45 ▲2.72 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 93.85 ▲0.63 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 35.83 ▲1.35 |
Inline Footnotes /wp-admin/options-general.php?page=inline-footnotes | 3.26 | 33.66 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Inline Footnotes
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,914 ▲157 | 13.72 ▼0.96 | 5.95 ▲4.06 | 37.75 ▼7.09 |
Dashboard /wp-admin | 2,231 ▲40 | 5.24 ▲0.30 | 100.68 ▼4.54 | 38.26 ▼6.46 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.32 ▲0.31 | 35.00 ▼1.50 | 30.59 ▼2.20 |
Add New Post /wp-admin/post-new.php | 1,538 ▲24 | 23.06 ▲5.62 | 673.98 ▼13.23 | 35.40 ▼20.38 |
Media Library /wp-admin/upload.php | 1,417 ▲29 | 4.25 ▲0.07 | 88.51 ▼32.28 | 40.52 ▼5.75 |
Inline Footnotes /wp-admin/options-general.php?page=inline-footnotes | 1,248 | 2.64 | 57.83 | 26.76 |
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
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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 take a closer look at the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/inline-footnotes/admin/partials/inline-footnotes-admin-display.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/inline-footnotes/public/partials/inline-footnotes-public-display.php:21
- > 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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: footnotes, shortcode
inline-footnotes/inline-footnotes.php Passed 13 tests
The entry point to "Inline Footnotes" version 2.3.0 is a PHP file that has certain tags in its header comment area
56 characters long description:
Enables adding footnotes via shortcodes in your content.
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
There were no executable files found in this plugin418 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 149 | 567 | 345 |
CSS | 3 | 0 | 5 | 43 |
JavaScript | 3 | 7 | 30 | 30 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
Average class complexity | 2.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 37 | |
▷ Static methods | 2 | 5.41% |
▷ Public methods | 32 | 86.49% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 13.51% |
Functions | 3 | |
▷ Named functions | 3 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected