Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.28MB] [CPU: ▼0.09ms] Passed 4 tests
An overview of server-side resources used by Form data to kintone
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 43.19 ▲3.65 |
Dashboard /wp-admin | 3.63 ▲0.32 | 48.66 ▼2.76 |
Posts /wp-admin/edit.php | 3.68 ▲0.32 | 52.11 ▲5.06 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.28 | 95.13 ▼5.26 |
Media Library /wp-admin/upload.php | 3.49 ▲0.26 | 39.86 ▲4.01 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Form data to kintone
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲35 | 14.26 ▼0.03 | 1.80 ▲0.20 | 45.87 ▲6.20 |
Dashboard /wp-admin | 2,205 ▲28 | 5.62 ▲0.11 | 91.41 ▲6.99 | 40.66 ▼0.64 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.02 ▼0.01 | 39.07 ▲1.30 | 35.92 ▲2.00 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.23 ▲0.34 | 588.89 ▼128.29 | 50.34 ▼9.84 |
Media Library /wp-admin/upload.php | 1,410 ▲10 | 4.17 ▼0.08 | 97.11 ▼1.25 | 43.01 ▼0.95 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
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
The smoke test was a success, however most plugin functionality was not tested
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
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/kintone-form/modules/file.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/kintone-form/kintone-form.php:32
- > 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
5 plugin tags: kintone, contact form 7, form data to kintone, cybozu, form
kintone-form/kintone-form.php 92% from 13 tests
Analyzing the main PHP file in "Form data to kintone" version 2.27.1
Please take the time to fix the following:
- Domain Path: The domain path folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected1,777 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 507 | 548 | 1,674 |
JavaScript | 2 | 30 | 14 | 86 |
CSS | 1 | 2 | 0 | 17 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 14.28 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 83.00 |
Average method complexity | 4.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 61 | |
▷ Static methods | 34 | 55.74% |
▷ Public methods | 53 | 86.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 13.11% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 4 | 80.00% |
▷ Class constants | 1 | 20.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected