Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.86ms] Passed 4 tests
An overview of server-side resources used by Modern Footnotes
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.97 ▼4.65 |
Dashboard /wp-admin | 3.34 ▲0.04 | 45.45 ▼3.21 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 49.08 ▲8.16 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 82.27 ▼19.74 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 40.92 ▲8.87 |
Modern Footnotes /wp-admin/options-general.php?page=modern-footnotes/modern-footnotes.php | 3.22 | 32.18 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 8 new options
New WordPress options |
---|
modern_footnotes_settings |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
modern_footnotes_include_footnote_list_at_end_of_rss_content_default_value_has_been_set |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Modern Footnotes
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲49 | 14.35 ▲0.07 | 1.69 ▼0.01 | 42.71 ▼2.36 |
Dashboard /wp-admin | 2,201 ▲21 | 5.69 ▲0.05 | 84.60 ▼4.57 | 37.62 ▼3.81 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 2.04 ▲0.04 | 41.03 ▲2.27 | 36.92 ▼2.19 |
Add New Post /wp-admin/post-new.php | 1,692 ▲164 | 21.86 ▼0.86 | 660.38 ▲30.97 | 53.21 ▲1.73 |
Media Library /wp-admin/upload.php | 1,406 ▲3 | 4.36 ▲0.20 | 93.36 ▼0.81 | 43.78 ▼0.55 |
Modern Footnotes /wp-admin/options-general.php?page=modern-footnotes/modern-footnotes.php | 921 | 2.00 | 21.86 | 30.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 8 options in the database
- widget_theysaidso_widget
- modern_footnotes_settings
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- modern_footnotes_include_footnote_list_at_end_of_rss_content_default_value_has_been_set
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/modern-footnotes/modern-footnotes.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Screenshots: Please add an image for screenshot #4 (http://prismtechstudios.com/modern-footnotes/modern-footnotes-4.png)
modern-footnotes/modern-footnotes.php 92% from 13 tests
The main file in "Modern Footnotes" v. 1.4.17 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 171 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin902 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 119 | 64 | 591 |
JavaScript | 6 | 25 | 101 | 226 |
CSS | 5 | 11 | 32 | 85 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 33 | |
▷ Named functions | 32 | 96.97% |
▷ Anonymous functions | 1 | 3.03% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
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 |
mce-button.png | 0.21KB | 0.13KB | ▼ 39.55% |