Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲1.61MB] [CPU: ▲24.09ms] Passed 4 tests
Server-side resources used by Tz Weekly Radio Schedule
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.09 ▲1.63 | 385.15 ▲343.44 |
Dashboard /wp-admin | 4.94 ▲1.64 | 70.36 ▲20.41 |
Posts /wp-admin/edit.php | 4.94 ▲1.58 | 75.71 ▲25.67 |
Add New Post /wp-admin/post-new.php | 7.54 ▲1.65 | 119.27 ▲24.10 |
Media Library /wp-admin/upload.php | 4.84 ▲1.60 | 56.89 ▲26.16 |
Tz Weekly Radio Schedule /wp-admin/options-general.php?page=tz-weekly-radio-schedule | 4.87 | 67.75 |
Server storage [IO: ▲1.02MB] [DB: ▲0.02MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 59 new files
Database: 4 new tables, 22 new options
New tables |
---|
wp_wrs_author_subscribe |
wp_wrs_this_week |
wp_wrs_next_week |
wp_wrs_author_followers |
New WordPress options |
---|
tzwrs_wrs_default_avatar_size |
widget_theysaidso_widget |
tzwrs_wrs_max_name_chars |
tzwrs_wrs_background_color |
widget_recent-posts |
tzwrs_wrs_header_footer_background_color |
tzwrs_wrs_need_approval |
can_compress_scripts |
theysaidso_admin_options |
tzwrs_wrs_text_color |
... |
Browser metrics Passed 4 tests
Tz Weekly Radio Schedule: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,513 ▲752 | 15.52 ▲1.40 | 8.34 ▲6.51 | 53.37 ▲5.91 |
Dashboard /wp-admin | 2,441 ▲267 | 6.50 ▲0.95 | 122.16 ▲27.15 | 48.33 ▲6.51 |
Posts /wp-admin/edit.php | 2,375 ▲275 | 3.72 ▲1.76 | 56.89 ▲17.34 | 37.63 ▲3.95 |
Add New Post /wp-admin/post-new.php | 1,617 ▲91 | 23.15 ▲0.03 | 600.72 ▼27.84 | 35.26 ▼16.75 |
Media Library /wp-admin/upload.php | 1,512 ▲115 | 4.47 ▲0.28 | 85.83 ▼14.14 | 44.24 ▼1.40 |
Tz Weekly Radio Schedule /wp-admin/options-general.php?page=tz-weekly-radio-schedule | 2,561 | 4.58 | 79.45 | 47.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/tz-wrs-core/uninstall.php+41
Constant TZWRS_OPTION_NAME already defined
- Zombie WordPress options detected upon uninstall: 8 options
- widget_wrsteam
- theysaidso_admin_options
- widget_recent-posts
- widget_wrsday
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
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
- 10× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_next_scheduled() in wp-content/plugins/tz-wrs-core/public/class-tz-weekly-radio-schedule-public.php:5491
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/tz-wrs-core/includes/class-tz-weekly-radio-schedule-activator.php on line 273
- > PHP Fatal error
Uncaught Error: Class 'Gamajo_Template_Loader' not found in wp-content/plugins/tz-wrs-core/public/class-tz-weekly-radio-schedule-template-loader.php:13
- > PHP Notice
Undefined variable: data in wp-content/plugins/tz-wrs-core/public/partials/content-followers.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function is_plugin_active() in wp-content/plugins/tz-wrs-core/public/partials/content-followers.php:24
- > PHP Fatal error
Uncaught Error: Call to a member function get_charset_collate() on null in wp-content/plugins/tz-wrs-core/includes/class-tz-weekly-radio-schedule-activator.php:274
- > PHP Notice
Trying to get property 'user_id' of non-object in wp-content/plugins/tz-wrs-core/public/partials/content-followers.php on line 11
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/tz-wrs-core/widgets/wrs-day-widget.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/tz-wrs-core/admin/partials/tz-weekly-radio-schedule-admin-display.php:19
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/tz-wrs-core/widgets/wrs-team-widget.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
tz-wrs-core/tz-wrs-core.php 77% from 13 tests
The principal PHP file in "Tz Weekly Radio Schedule" v. 1.8.1 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 184 characters long)
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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
Everything looks great! No dangerous files found in this plugin13,569 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 972 | 1,455 | 7,009 |
CSS | 5 | 529 | 33 | 2,863 |
SVG | 12 | 0 | 3 | 2,627 |
JavaScript | 7 | 139 | 167 | 912 |
HTML | 4 | 87 | 478 | 158 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 86.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 840.00 |
Average method complexity | 6.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 93.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 174 | |
▷ Static methods | 39 | 22.41% |
▷ Public methods | 166 | 95.40% |
▷ Protected methods | 3 | 1.72% |
▷ Private methods | 5 | 2.87% |
Functions | 11 | |
▷ Named functions | 7 | 63.64% |
▷ Anonymous functions | 4 | 36.36% |
Constants | 22 | |
▷ Global constants | 22 | 100.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
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/fb-icon.png | 1.69KB | 1.68KB | ▼ 0.87% |
images/tw-icon.png | 1.03KB | 0.69KB | ▼ 33.36% |
images/wrs-logo.png | 11.00KB | 5.50KB | ▼ 49.96% |