Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼8.94ms] Passed 4 tests
Server-side resources used by CocoonNoticeAreaScheduler
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.83 ▼7.19 |
Dashboard /wp-admin | 3.35 ▲0.04 | 48.42 ▼8.53 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 50.76 ▲0.24 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 90.20 ▼20.28 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.10 ▲1.20 |
通知エリア管理 /wp-admin/edit.php?post_type=mch795_cnaspt | 3.32 | 38.94 |
Add New /wp-admin/post-new.php?post_type=mch795_cnaspt | 3.36 | 46.46 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for CocoonNoticeAreaScheduler
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.28 ▲0.09 | 1.71 ▼0.30 | 39.99 ▼2.08 |
Dashboard /wp-admin | 2,221 ▲41 | 5.65 ▲0.06 | 88.52 ▼6.41 | 51.30 ▲10.53 |
Posts /wp-admin/edit.php | 2,129 ▲29 | 2.04 ▲0.03 | 39.79 ▲3.46 | 44.11 ▲7.49 |
Add New Post /wp-admin/post-new.php | 1,565 ▲15 | 23.33 ▲0.28 | 594.22 ▼26.24 | 61.45 ▲12.88 |
Media Library /wp-admin/upload.php | 1,432 ▲32 | 4.20 ▼0.03 | 97.40 ▼8.26 | 52.36 ▲6.84 |
通知エリア管理 /wp-admin/edit.php?post_type=mch795_cnaspt | 1,216 | 1.98 | 34.73 | 66.79 |
Add New /wp-admin/post-new.php?post_type=mch795_cnaspt | 1,991 | 3.37 | 77.16 | 76.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/cocoonnoticeareascheduler/ui/input-form-main.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: japanese, cocoon, noticearea
cocoonnoticeareascheduler/mch795-cocoon-notice-area-scheduler.php 77% from 13 tests
This is the main PHP file of "CocoonNoticeAreaScheduler" version 0.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("cocoonnoticeareascheduler.php" instead of "mch795-cocoon-notice-area-scheduler.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 174 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected870 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 254 | 144 | 836 |
CSS | 1 | 0 | 1 | 17 |
LESS | 1 | 10 | 0 | 17 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 104.00 |
▷ Minimum class complexity | 104.00 |
▷ Maximum class complexity | 104.00 |
Average method complexity | 3.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.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 | 49 | |
▷ Static methods | 2 | 4.08% |
▷ Public methods | 35 | 71.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 14 | 28.57% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 27 | |
▷ Global constants | 2 | 7.41% |
▷ Class constants | 25 | 92.59% |
▷ Public constants | 25 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin