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
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.97ms] Passed 4 tests
Server-side resources used by Footer Shortcodes
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.82 ▼2.97 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.75 ▼3.39 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.99 ▼3.89 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 84.94 ▼9.64 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 35.86 ▲2.67 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Footer Shortcodes
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 14.84 ▲0.43 | 1.80 ▼0.28 | 38.84 ▼4.87 |
Dashboard /wp-admin | 2,200 ▲12 | 5.85 ▲0.99 | 113.58 ▼4.77 | 42.81 ▼4.84 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.00 ▲0.01 | 38.74 ▲3.45 | 36.38 ▲3.69 |
Add New Post /wp-admin/post-new.php | 1,520 ▲6 | 23.29 ▲5.90 | 663.50 ▼3.54 | 52.77 ▼0.29 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.21 ▲0.03 | 99.57 ▲5.39 | 41.92 ▼1.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% 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 your attention:
- Screenshots: Please add an image for screenshot #0 (There are no screenshots.)
footer-shortcodes/footer-shortcodes.php Passed 13 tests
The main file in "Footer Shortcodes" v. 1.0.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
111 characters long description:
Shortcodes for your footer to display the copyright symbol, the year and the site title linked to the homepage.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin169 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 84 | 422 | 169 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 2.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 2 | 9.09% |
▷ Public methods | 18 | 81.82% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 18.18% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin