Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼6.21ms] Passed 4 tests
This is a short check of server-side resources used by Website Trial Version
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 38.49 ▼1.82 |
Dashboard /wp-admin | 3.35 ▲0.05 | 46.40 ▼0.75 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 45.60 ▲0.83 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 84.57 ▼23.09 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 36.56 ▲0.93 |
WTV Options /wp-admin/options-general.php?page=wbst-tvs-options-page | 3.24 | 27.61 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 14 new options
New WordPress options |
---|
wbst_tvs_box_hide |
widget_recent-comments |
wbst_tvs_box_text |
wbst_tvs_box_end_date |
db_upgraded |
wbst_tvs_box_message |
widget_theysaidso_widget |
wbst_tvs_box_once_time |
can_compress_scripts |
wbst_tvs_box_color |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Website Trial Version
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,041 ▲280 | 13.70 ▼0.65 | 24.23 ▲22.42 | 50.67 ▲10.17 |
Dashboard /wp-admin | 2,199 ▲19 | 5.63 ▼0.03 | 85.88 ▲0.49 | 37.23 ▼6.13 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 1.97 ▼0.01 | 34.48 ▼3.67 | 33.02 ▼3.04 |
Add New Post /wp-admin/post-new.php | 1,531 ▼5 | 23.24 ▲5.04 | 651.83 ▲7.65 | 59.24 ▼26.07 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.13 ▼0.08 | 112.33 ▲14.94 | 48.02 ▲4.70 |
WTV Options /wp-admin/options-general.php?page=wbst-tvs-options-page | 979 | 2.01 | 26.09 | 24.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 14 options
- wbst_tvs_box_hide
- widget_theysaidso_widget
- wbst_tvs_box_end_date
- wbst_tvs_box_position
- wbst_tvs_box_bg_color
- can_compress_scripts
- widget_recent-comments
- wbst_tvs_box_color
- widget_recent-posts
- theysaidso_admin_options
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/website-trial-version/website-trial-version.php:35
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
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
10 plugin tags: payments, doesnt pay, days, clients, offline...
website-trial-version/website-trial-version.php 92% from 13 tests
The main file in "Website Trial Version" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 498 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected769 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 41 | 13 | 607 |
PHP | 1 | 15 | 9 | 162 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.02 |
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 | 7 | |
▷ Named functions | 7 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin