Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼4.87ms] Passed 4 tests
Analyzing server-side resources used by
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 37.37 ▼0.86 |
Dashboard /wp-admin | 3.40 ▲0.10 | 49.84 ▲0.89 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 47.83 ▼2.18 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 88.24 ▼17.34 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 36.98 ▲2.89 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
tscp_cron_executed |
Browser metrics Passed 4 tests
: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲67 | 13.25 ▼1.11 | 4.57 ▲2.97 | 38.81 ▼1.79 |
Dashboard /wp-admin | 2,208 ▲20 | 5.86 ▲0.01 | 109.82 ▲4.77 | 37.92 ▼6.42 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 2.02 ▼0.02 | 39.78 ▼0.81 | 35.42 ▼1.65 |
Add New Post /wp-admin/post-new.php | 1,556 ▲14 | 18.52 ▲0.46 | 624.90 ▲27.81 | 59.92 ▲3.63 |
Media Library /wp-admin/upload.php | 1,393 ▲8 | 4.20 ▼0.00 | 101.32 ▲1.02 | 46.66 ▲3.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- db_upgraded
- tscp_cron_executed
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- 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
The smoke test was a success, however most plugin functionality was not tested
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 fix the following
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/taro-clockwork-post/includes/block-editor.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/taro-clockwork-post/includes/cron.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/taro-clockwork-post/includes/meta-box.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/taro-clockwork-post/includes/setting.php:9
- > 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 errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: media, post, expiration
taro-clockwork-post/taro-clockwork-post.php 92% from 13 tests
"" version 1.2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected713 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 35 | 159 | 369 |
JavaScript | 3 | 25 | 28 | 192 |
PO File | 1 | 22 | 22 | 79 |
Sass | 2 | 18 | 0 | 71 |
CSS | 2 | 2 | 6 | 2 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 30 | |
▷ Named functions | 8 | 26.67% |
▷ Anonymous functions | 22 | 73.33% |
Constants | 2 | |
▷ Global constants | 2 | 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
There are no PNG files in this plugin