Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.50MB] [CPU: ▼217.83ms] Passed 4 tests
Analyzing server-side resources used by Podamibe Simple Footer Widget Area
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.10 ▼0.73 | 8.60 ▼26.56 |
Dashboard /wp-admin | 2.15 ▼0.91 | 11.97 ▼31.85 |
Posts /wp-admin/edit.php | 2.15 ▼0.96 | 11.10 ▼36.03 |
Add New Post /wp-admin/post-new.php | 2.14 ▼3.29 | 9.23 ▼776.89 |
Media Library /wp-admin/upload.php | 2.15 ▼0.85 | 10.25 ▼23.76 |
SFWA Setting /wp-admin/options-general.php?page=sfwarea-settings | 2.15 | 9.81 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_sfwa_button_widget |
widget_sfwa_social_widget |
widget_sfwa_google_map_widget |
widget_sfwa_ads |
widget_sfwa_contact_widget |
widget_sfwa_footer_widget |
widget_sfwa_credential |
Browser metrics Passed 4 tests
An overview of browser requirements for Podamibe Simple Footer Widget Area
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,749 ▲153 | 16.57 ▲0.52 | 10.40 ▼0.36 | 47.93 ▼2.57 |
Dashboard /wp-admin | 3,022 ▲91 | 6.67 ▲0.69 | 152.69 ▼2.87 | 113.77 ▲9.75 |
Posts /wp-admin/edit.php | 2,775 ▲36 | 3.04 ▲0.32 | 73.89 ▲1.22 | 88.07 ▼4.03 |
Add New Post /wp-admin/post-new.php | 1,707 ▲205 | 18.84 ▲0.09 | 369.18 ▼41.38 | 114.22 ▲8.01 |
Media Library /wp-admin/upload.php | 1,855 ▲48 | 5.20 ▲0.18 | 143.17 ▼9.72 | 113.16 ▲1.57 |
SFWA Setting /wp-admin/options-general.php?page=sfwarea-settings | 1,460 | 4.27 | 83.97 | 72.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/podamibe-simple-footer-widget-area/simple-footer-widget-area.php+161
Trying to access array offset on value of type bool
- Zombie WordPress options were found after uninstall: 7 options
- widget_sfwa_footer_widget
- widget_sfwa_contact_widget
- widget_sfwa_social_widget
- widget_sfwa_ads
- widget_sfwa_credential
- widget_sfwa_google_map_widget
- widget_sfwa_button_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=sfwarea-settings
- > Notice in wp-content/plugins/podamibe-simple-footer-widget-area/simple-footer-widget-area.php+75
Trying to access array offset on value of type bool
SRP 50% from 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
Please fix the following
- 9× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/podamibe-simple-footer-widget-area/widgets/sfwa-google-map-widget.php
- > /wp-content/plugins/podamibe-simple-footer-widget-area/widgets/sfwa-contact.php
- > /wp-content/plugins/podamibe-simple-footer-widget-area/widgets/sfwa-credential.php
- > /wp-content/plugins/podamibe-simple-footer-widget-area/widgets/sfwa-button-widget.php
- > /wp-content/plugins/podamibe-simple-footer-widget-area/widgets/sfwa-ads.php
- > /wp-content/plugins/podamibe-simple-footer-widget-area/simple-footer-widget-area.php
- > /wp-content/plugins/podamibe-simple-footer-widget-area/widgets/sfwa-social-widget.php
- > /wp-content/plugins/podamibe-simple-footer-widget-area/widgets/sfwa-footer-widget.php
- > /wp-content/plugins/podamibe-simple-footer-widget-area/settings.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Tags: There are too many tags (11 tag instead of maximum 10)
podamibe-simple-footer-widget-area/simple-footer-widget-area.php 69% from 13 tests
This is the main PHP file of "Podamibe Simple Footer Widget Area" version 2.0.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Description: Keep the plugin description shorter than 140 characters (currently 275 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("podamibe-simple-footer-widget-area.php" instead of "simple-footer-widget-area.php")
- Requires at least: The required version number must match the one declared in readme.txt ("4.0" instead of "2.0.7")
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 plugin2,011 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 119 | 177 | 1,538 |
CSS | 2 | 3 | 18 | 422 |
JavaScript | 2 | 23 | 16 | 51 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 125.00 |
Average method complexity | 5.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 75.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 41 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 41 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
No PNG files were detected