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.17MB] [CPU: ▲5.71ms] Passed 4 tests
An overview of server-side resources used by WordCast
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 42.41 ▲2.88 |
Dashboard /wp-admin | 3.51 ▲0.16 | 63.18 ▲1.58 |
Posts /wp-admin/edit.php | 3.57 ▲0.22 | 58.92 ▲9.81 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.34 | 110.80 ▲8.57 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 46.20 ▲12.18 |
WordCast Channels /wp-admin/edit.php?post_type=wordcastchannel | 3.49 | 49.26 |
WordCast Episodes /wp-admin/edit.php?post_type=wordcastepisode | 3.49 | 44.60 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 3.44 | 43.84 |
Server storage [IO: ▲0.21MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
wordcast_category_children |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WordCast
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,872 ▲126 | 13.64 ▼1.14 | 2.17 ▲0.32 | 47.32 ▲5.34 |
Dashboard /wp-admin | 2,272 ▲84 | 4.87 ▼1.06 | 97.13 ▼16.18 | 47.32 ▲4.95 |
Posts /wp-admin/edit.php | 2,163 ▲74 | 2.04 ▲0.02 | 39.09 ▼1.76 | 47.48 ▲9.49 |
Add New Post /wp-admin/post-new.php | 1,601 ▲82 | 18.21 ▼4.91 | 633.85 ▼15.31 | 75.18 ▲21.92 |
Media Library /wp-admin/upload.php | 1,462 ▲71 | 4.23 ▼0.00 | 100.19 ▲0.64 | 52.01 ▲6.05 |
WordCast Channels /wp-admin/edit.php?post_type=wordcastchannel | 1,152 | 2.00 | 35.14 | 40.65 |
WordCast Episodes /wp-admin/edit.php?post_type=wordcastepisode | 1,189 | 1.98 | 35.80 | 53.44 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 994 | 2.21 | 27.04 | 32.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- wordcast_category_children
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 11× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wordcast/wordcast-register-templates.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/wordcast/tgm-plugin-activation/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wordcast/wordcast-custom-post-types.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wordcast/wordcast-custom-taxonomies.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wordcast/wordcast-channel-categories.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wordcast/templates/single-wc-channel.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wordcast/wordcast-functions.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wordcast/wordcast-admin.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wordcast/templates/channel-data.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wordcast/wordcast-add-acf.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Requires at least: Invalid plugin version format
wordcast/wordcast.php 92% from 13 tests
The entry point to "WordCast" version 1.1.3 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 143 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 plugin3,644 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 595 | 1,663 | 3,308 |
PO File | 1 | 139 | 142 | 336 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 45.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 4.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 109 | |
▷ Static methods | 8 | 7.34% |
▷ Public methods | 83 | 76.15% |
▷ Protected methods | 23 | 21.10% |
▷ Private methods | 3 | 2.75% |
Functions | 28 | |
▷ Named functions | 12 | 42.86% |
▷ Anonymous functions | 16 | 57.14% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.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
There were not PNG files found in your plugin