Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.73ms] Passed 4 tests
Analyzing server-side resources used by Forameal Splash Screen
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.07 ▲3.99 |
Dashboard /wp-admin | 3.34 ▼0.01 | 46.66 ▼12.84 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 44.17 ▼4.63 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 83.95 ▼10.50 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.17 ▲1.05 |
Forameal Splash Screen /wp-admin/options-general.php?page=my-setting-admin | 3.20 | 30.76 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Forameal Splash Screen
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 14.26 ▼0.13 | 3.00 ▲1.46 | 49.83 ▲8.80 |
Dashboard /wp-admin | 2,218 ▲46 | 5.55 ▼0.05 | 84.21 ▼14.47 | 75.15 ▲32.40 |
Posts /wp-admin/edit.php | 2,120 ▲23 | 1.96 ▼0.12 | 34.48 ▼2.85 | 32.72 ▼1.02 |
Add New Post /wp-admin/post-new.php | 1,558 ▲29 | 23.06 ▼0.04 | 643.61 ▼22.31 | 86.04 ▲34.15 |
Media Library /wp-admin/upload.php | 1,423 ▲26 | 4.16 ▲0.03 | 97.32 ▼11.83 | 63.67 ▲16.97 |
Forameal Splash Screen /wp-admin/options-general.php?page=my-setting-admin | 814 | 2.18 | 23.80 | 25.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=my-setting-admin
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=my-setting-admin
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
The following issues need your attention
- 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/forameal-splash-screen/index.php:12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=my-setting-admin
- > Network (severe)
wp-content/plugins/igreen-alexa-site-rank/al.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: contact-form-7 in splash screen, email subscribers form in splash screen, splash screen
forameal-splash-screen/index.php 85% from 13 tests
Analyzing the main PHP file in "Forameal Splash Screen" version 2.0.0
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("forameal-splash-screen.php" instead of "index.php")
- Description: The description should be shorter than 140 characters (currently 232 characters long)
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 plugin341 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 60 | 49 | 161 |
PHP | 1 | 49 | 43 | 121 |
CSS | 1 | 14 | 4 | 59 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin