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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.13MB] [CPU: ▼8.18ms] Passed 4 tests
Analyzing server-side resources used by VS Website Closed
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 40.01 ▼0.86 |
Dashboard /wp-admin | 3.45 ▲0.10 | 47.13 ▼12.54 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 47.16 ▼3.32 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 83.56 ▼15.98 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 34.73 ▲1.70 |
Website closed /wp-admin/options-general.php?page=vswc | 3.34 | 34.25 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for VS Website Closed
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲51 | 14.42 ▲0.14 | 1.65 ▼0.03 | 48.04 ▲4.91 |
Dashboard /wp-admin | 2,218 ▲41 | 5.84 ▲0.21 | 99.80 ▲4.06 | 42.55 ▼2.75 |
Posts /wp-admin/edit.php | 2,128 ▲28 | 2.45 ▲0.43 | 42.12 ▲1.15 | 37.02 ▲1.19 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 23.30 ▲0.12 | 586.26 ▼10.20 | 33.48 ▼18.27 |
Media Library /wp-admin/upload.php | 1,423 ▲29 | 4.41 ▲0.24 | 96.67 ▼1.85 | 41.30 ▼0.21 |
Website closed /wp-admin/options-general.php?page=vswc | 963 | 1.94 | 28.48 | 29.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
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
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% 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
5 plugin tags: close, under construction, closed, simple, maintenance
very-simple-website-closed/vswc.php 92% from 13 tests
The primary PHP file in "VS Website Closed" version 2.8 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("very-simple-website-closed.php" instead of "vswc.php")
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
There were no executable files found in this plugin430 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 60 | 47 | 413 |
CSS | 4 | 7 | 9 | 14 |
JavaScript | 1 | 1 | 1 | 3 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 29 | |
▷ Named functions | 29 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected