Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼252.47ms] Passed 4 tests
A check of server-side resources used by Very Simple Splash Page
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 33.10 ▲9.77 |
Dashboard /wp-admin | 3.09 ▲0.04 | 49.31 ▼0.05 |
Posts /wp-admin/edit.php | 3.20 ▲0.10 | 50.95 ▲6.74 |
Add New Post /wp-admin/post-new.php | 5.43 ▲0.00 | 94.06 ▼1,007.17 |
Media Library /wp-admin/upload.php | 3.01 ▲0.00 | 30.41 ▼9.39 |
Server storage [IO: ▲1.67MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 2 new options
New WordPress options |
---|
vssp_settings |
vssp_options |
Browser metrics Passed 4 tests
A check of browser resources used by Very Simple Splash Page
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,878 ▲272 | 17.59 ▲2.10 | 7.32 ▼1.20 | 44.21 ▼2.88 |
Dashboard /wp-admin | 3,159 ▲303 | 7.35 ▲1.55 | 167.40 ▲30.41 | 99.75 ▼5.46 |
Posts /wp-admin/edit.php | 2,964 ▲258 | 4.08 ▲1.39 | 82.94 ▲15.23 | 86.75 ▼5.80 |
Add New Post /wp-admin/post-new.php | 1,623 ▼30 | 21.65 ▲2.84 | 243.57 ▼133.67 | 104.73 ▼7.35 |
Media Library /wp-admin/upload.php | 1,808 ▲39 | 4.92 ▼0.09 | 109.36 ▼38.53 | 105.05 ▼5.54 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 2 options
- vssp_settings
- vssp_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)
Everything seems fine, however this is by no means an exhaustive test
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
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/very-simple-splash-page/vssp-config.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_title() in wp-content/plugins/very-simple-splash-page/templates/default-template.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/very-simple-splash-page/vssp-config.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/very-simple-splash-page/includes/activation.php:83
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% 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:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== very-simple-splash-page ===
)
very-simple-splash-page/init.php 85% from 13 tests
The entry point to "Very Simple Splash Page" version 1.0.3 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("very-simple-splash-page.php" instead of "init.php")
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected689 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 188 | 111 | 379 |
PHP | 7 | 112 | 23 | 310 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin