Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.80ms] Passed 4 tests
An overview of server-side resources used by Livestream Notice
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 43.08 ▲1.80 |
Dashboard /wp-admin | 3.32 ▲0.01 | 73.20 ▲16.96 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 51.18 ▼3.34 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 87.96 ▼8.30 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.51 ▲2.66 |
Livestream Notice /wp-admin/options-general.php?page=livestreamNotice | 3.25 | 35.51 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Livestream Notice
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,881 ▲120 | 13.42 ▼0.54 | 13.95 ▲12.23 | 41.60 ▼4.52 |
Dashboard /wp-admin | 2,202 ▲37 | 5.62 ▲0.05 | 94.74 ▲2.11 | 42.21 ▼5.63 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.04 ▲0.00 | 40.79 ▲1.88 | 34.86 ▼2.68 |
Add New Post /wp-admin/post-new.php | 1,534 ▲8 | 22.89 ▼0.16 | 672.32 ▼7.84 | 61.63 ▲8.94 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.24 ▲0.09 | 109.42 ▲8.19 | 50.50 ▲3.70 |
Livestream Notice /wp-admin/options-general.php?page=livestreamNotice | 870 | 2.12 | 25.64 | 28.88 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/livestream-notice/livestream-notice.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/livestream-notice/pages/settings.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Contributors: Plugin contributors field is missing
livestream-notice/livestream-notice.php 92% from 13 tests
This is the main PHP file of "Livestream Notice" version 1.3.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 184 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin490 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 41 | 8 | 220 |
JavaScript | 1 | 10 | 18 | 112 |
PHP | 2 | 24 | 21 | 110 |
Markdown | 1 | 31 | 0 | 48 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.05 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin