Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.88MB] [CPU: ▼31.42ms] Passed 4 tests
This is a short check of server-side resources used by 集简云(SDK嵌入)
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 43.02 ▲5.06 |
Dashboard /wp-admin | 3.07 ▼0.24 | 23.63 ▼27.80 |
Posts /wp-admin/edit.php | 3.07 ▼0.29 | 25.91 ▼17.90 |
Add New Post /wp-admin/post-new.php | 3.07 ▼2.82 | 24.49 ▼64.80 |
Media Library /wp-admin/upload.php | 3.07 ▼0.16 | 22.80 ▼15.19 |
应用管理 /wp-admin/admin.php?page=jijianyun_app-manage | 3.07 | 24.28 |
流程日志 /wp-admin/admin.php?page=jijianyun_data-log | 3.07 | 25.61 |
集简云 /wp-admin/admin.php?page=jijianyun | 3.07 | 20.56 |
数据流程 /wp-admin/admin.php?page=jijianyun_data-pipeline | 3.07 | 22.76 |
流程模板 /wp-admin/admin.php?page=jijianyun_pipeline-template | 3.07 | 19.81 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
集简云(SDK嵌入): an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,930 ▲195 | 13.77 ▼0.54 | 5.58 ▲3.65 | 44.08 ▼2.72 |
Dashboard /wp-admin | 2,253 ▲65 | 5.22 ▼0.63 | 122.25 ▲15.14 | 54.17 ▲15.90 |
Posts /wp-admin/edit.php | 2,139 ▲50 | 2.39 ▲0.36 | 37.75 ▲3.40 | 45.14 ▲8.32 |
Add New Post /wp-admin/post-new.php | 1,552 ▲32 | 23.51 ▲0.08 | 666.87 ▼11.22 | 50.82 ▼26.69 |
Media Library /wp-admin/upload.php | 1,438 ▲50 | 4.56 ▲0.36 | 96.34 ▼11.85 | 51.20 ▲3.94 |
应用管理 /wp-admin/admin.php?page=jijianyun_app-manage | 817 | 2.07 | 29.82 | 41.71 |
流程日志 /wp-admin/admin.php?page=jijianyun_data-log | 814 | 1.97 | 25.05 | 32.61 |
集简云 /wp-admin/admin.php?page=jijianyun | 1,050 | 1.98 | 26.04 | 92.09 |
数据流程 /wp-admin/admin.php?page=jijianyun_data-pipeline | 814 | 1.96 | 24.47 | 34.64 |
流程模板 /wp-admin/admin.php?page=jijianyun_pipeline-template | 814 | 1.97 | 24.08 | 30.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Uninstall procedure had uncaught errors
- > User notice in wp-includes/functions.php+5905
Function add_menu_page was called incorrectly. The seventh parameter passed to add_menu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 6.0.0.)
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=jijianyun_pipeline-template
- > User notice in wp-includes/functions.php+5905
Function add_menu_page was called incorrectly. The seventh parameter passed to add_menu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 6.0.0.)
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=jijianyun_pipeline-template
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method Jijianyun_Admin::jijianyun_options_page_html() should not be called statically
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=jijianyun_pipeline-template
- > Notice in wp-content/plugins/jijianyun/admin/views/view.php+5
Undefined index: formSubmit
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=jijianyun_pipeline-template
- > Notice in wp-content/plugins/jijianyun/admin/views/view.php+6
Undefined index: formSubmit1
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=jijianyun_pipeline-template
- > Notice in wp-content/plugins/jijianyun/admin/views/view.php+7
Undefined index: clear
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/jijianyun/admin/partials/jijianyun-admin-display.php
- > /wp-content/plugins/jijianyun/public/partials/jijianyun-public-display.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/jijianyun/admin/views/view.php:5
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=jijianyun_pipeline-template
- > Javascript (severe) in unknown
https://cdn.jijyun.cn/t/site316/index-sdk.js?ver=1.0.0 0:50822 Uncaught Error: "secret" is missing or empty
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
1 plugin tags: content analysiscomments spam
jijianyun/jijianyun.php 85% from 13 tests
"集简云(SDK嵌入)" version 19.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 308 characters long)
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
Good job! No executable or dangerous file extensions detected602 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 160 | 577 | 595 |
JavaScript | 2 | 4 | 54 | 6 |
JSON | 1 | 0 | 0 | 1 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 2.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 34 | |
▷ Static methods | 6 | 17.65% |
▷ Public methods | 27 | 79.41% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 20.59% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
No PNG images were found in this plugin