Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▼7.19ms] Passed 4 tests
A check of server-side resources used by Publish kintone data
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 41.15 ▼3.84 |
Dashboard /wp-admin | 3.49 ▲0.19 | 51.27 ▼4.79 |
Posts /wp-admin/edit.php | 3.60 ▲0.25 | 49.80 ▼5.58 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.19 | 95.26 ▼14.56 |
Media Library /wp-admin/upload.php | 3.41 ▲0.19 | 41.20 ▲1.83 |
Publish kintone data /wp-admin/options-general.php?page=publish-kintone-data-setting | 3.38 | 35.43 |
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 |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Publish kintone data
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.55 ▼0.82 | 4.51 ▲2.21 | 39.35 ▼2.04 |
Dashboard /wp-admin | 2,210 ▲25 | 5.86 ▲0.01 | 106.08 ▲5.50 | 41.30 ▼10.72 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.04 ▼0.01 | 38.87 ▼1.94 | 33.94 ▼6.63 |
Add New Post /wp-admin/post-new.php | 1,536 ▼6 | 23.29 ▲5.11 | 633.59 ▼37.21 | 50.19 ▼7.55 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.23 ▲0.00 | 97.29 ▼19.38 | 43.79 ▼4.65 |
Publish kintone data /wp-admin/options-general.php?page=publish-kintone-data-setting | 830 | 2.03 | 28.24 | 30.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/import-kintone/inc/class-shortcode.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function publish_kintone_data\\plugins_url() in wp-content/plugins/import-kintone/publish-kintone-data.php:34
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: cybozu, database, custom field, crm, kintone
import-kintone/publish-kintone-data.php 77% from 13 tests
"Publish kintone data" version 1.13.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to 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
- Domain Path: The domain path folder was not found ("/languages")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("import-kintone.php" instead of "publish-kintone-data.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin921 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 306 | 227 | 921 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 41.75 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 78.00 |
Average method complexity | 5.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 3 | 9.09% |
▷ Public methods | 11 | 33.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 22 | 66.67% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
PNG images were not found in this plugin