Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼9.13ms] Passed 4 tests
This is a short check of server-side resources used by Interactive video, Quiz, Product recommendations, Video chat, Video maker
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.44 ▼0.07 | 23.05 ▼27.20 |
Dashboard /wp-admin | 3.36 ▲0.02 | 51.48 ▼2.77 |
Posts /wp-admin/edit.php | 3.48 ▲0.08 | 51.21 ▲3.09 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.02 | 84.48 ▼9.63 |
Media Library /wp-admin/upload.php | 3.29 ▲0.02 | 39.38 ▲4.00 |
Tolstoy /wp-admin/options-general.php?page=tolstoy-plugin | 3.25 | 33.26 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Interactive video, Quiz, Product recommendations, Video chat, Video maker
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲35 | 14.23 ▼0.00 | 1.96 ▼0.63 | 39.74 ▼5.63 |
Dashboard /wp-admin | 2,199 ▲19 | 5.65 ▼0.00 | 86.52 ▼3.87 | 39.47 ▼2.27 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.00 ▼0.02 | 39.79 ▲4.18 | 38.31 ▲1.23 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.34 ▲0.31 | 698.89 ▲75.00 | 53.69 ▼1.31 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.19 ▼0.03 | 111.40 ▲8.58 | 49.32 ▲4.06 |
Tolstoy /wp-admin/options-general.php?page=tolstoy-plugin | 786 | 2.02 | 24.49 | 26.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tolstoy-video/tolstoy-video.php:76
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: interactive, videos
tolstoy-video/tolstoy-video.php Passed 13 tests
"Interactive video, Quiz, Product recommendations, Video chat, Video maker" version 1.0.10's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
36 characters long description:
This is Tolstoy's widget integration
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected58 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 12 | 11 | 58 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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 | 8 | |
▷ Named functions | 8 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin