Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.68MB] [CPU: ▼19.83ms] Passed 4 tests
An overview of server-side resources used by GazeTV
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.18 ▼4.88 |
Dashboard /wp-admin | 3.32 ▲0.01 | 47.52 ▼10.77 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 51.52 ▼1.66 |
Add New Post /wp-admin/post-new.php | 3.13 ▼2.76 | 35.03 ▼61.99 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.77 ▲1.76 |
GazeTV /wp-admin/options-general.php?page=GazeTV | 3.20 | 28.00 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
GTVVL_options |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for GazeTV
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.45 ▲0.08 | 1.82 ▲0.10 | 47.38 ▲3.22 |
Dashboard /wp-admin | 2,207 ▲19 | 5.82 ▲0.94 | 95.98 ▼26.84 | 39.48 ▼4.14 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.04 ▲0.04 | 39.99 ▲0.53 | 37.52 ▲1.53 |
Add New Post /wp-admin/post-new.php | 1,537 ▲9 | 23.21 ▲4.94 | 655.25 ▲10.38 | 57.07 ▼0.29 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.34 ▲0.13 | 99.44 ▼7.73 | 44.17 ▼1.73 |
GazeTV /wp-admin/options-general.php?page=GazeTV | 795 | 2.03 | 25.04 | 26.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- GTVVL_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/gazetv/GazeTV.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: video, entertainment
gazetv/GazeTV.php 69% from 13 tests
The main PHP file in "GazeTV" ver. 4.3.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("gazetv.php" instead of "GazeTV.php")
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Domain Path: The domain path should use only dashes and lowercase characters ("")
- Domain Path: Prefix the domain path with a forward slash character ("/")
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
Success! There were no dangerous files found in this plugin209 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 34 | 43 | 209 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 10 | |
▷ Named functions | 8 | 80.00% |
▷ Anonymous functions | 2 | 20.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 are no PNG files in this plugin