Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.92MB] [CPU: ▼35.76ms] Passed 4 tests
An overview of server-side resources used by WP Cloud Edit
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 42.18 ▼1.74 |
Dashboard /wp-admin | 3.02 ▼0.28 | 23.02 ▼25.30 |
Posts /wp-admin/edit.php | 3.02 ▼0.33 | 26.57 ▼23.94 |
Add New Post /wp-admin/post-new.php | 3.02 ▼2.87 | 22.27 ▼82.33 |
Media Library /wp-admin/upload.php | 3.02 ▼0.21 | 26.67 ▼11.45 |
设置 /wp-admin/admin.php?page=setting | 3.02 | 27.71 |
内容发布 /wp-admin/admin.php?page=content | 3.02 | 20.31 |
云采编 /wp-admin/admin.php?page=WP-CloudEdit | 3.02 | 26.83 |
发布记录 /wp-admin/admin.php?page=published | 3.02 | 27.54 |
内容源管理 /wp-admin/admin.php?page=source | 3.02 | 21.93 |
Server storage [IO: ▲0.23MB] [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: 24 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_wpce_correlation |
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
category_children |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
wpce_db_version |
Browser metrics Passed 4 tests
Checking browser requirements for WP Cloud Edit
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,883 ▲137 | 13.49 ▼1.04 | 5.30 ▲3.31 | 42.25 ▼6.29 |
Dashboard /wp-admin | 2,277 ▲86 | 5.18 ▲0.29 | 110.83 ▲10.41 | 80.63 ▲36.03 |
Posts /wp-admin/edit.php | 2,184 ▲95 | 2.46 ▲0.45 | 44.70 ▲2.59 | 44.52 ▲6.74 |
Add New Post /wp-admin/post-new.php | 1,659 ▲126 | 22.33 ▼0.84 | 687.20 ▲32.02 | 105.10 ▲48.84 |
Media Library /wp-admin/upload.php | 1,465 ▲80 | 4.62 ▲0.39 | 113.99 ▲5.56 | 89.81 ▲42.30 |
设置 /wp-admin/admin.php?page=setting | 914 | 2.02 | 38.34 | 63.65 |
内容发布 /wp-admin/admin.php?page=content | 1,067 | 2.19 | 57.14 | 60.29 |
云采编 /wp-admin/admin.php?page=WP-CloudEdit | 937 | 1.99 | 43.48 | 60.96 |
发布记录 /wp-admin/admin.php?page=published | 895 | 1.98 | 36.25 | 43.85 |
内容源管理 /wp-admin/admin.php?page=source | 1,186 | 2.17 | 41.99 | 51.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin cannot be uninstalled
- > User deprecated in wp-includes/functions.php+5453
Function add_object_page is deprecated since version 4.5.0! Use add_menu_page() instead.
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- category_children
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=source
- > User deprecated in wp-includes/functions.php+5453
Function add_object_page is deprecated since version 4.5.0! Use add_menu_page() instead.
- > GET request to /wp-admin/admin.php?page=content
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
SRP 50% 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
- 4× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-cloud-edit/footer.php
- > /wp-content/plugins/wp-cloud-edit/wp-CloudEdit-published.php
- > /wp-content/plugins/wp-cloud-edit/processQuery.php
- > /wp-content/plugins/wp-cloud-edit/header.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=source
- > Network (severe)
wp-content/plugins/wp-cloud-edit/wpce.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=source
- > Network (severe)
wp-content/plugins/wp-cloud-edit/fonts/glyphicons-halflings-regular.woff - Failed to load resource: the server responded with a status of 404 (Not Found)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=source
- > Network (severe)
wp-content/plugins/wp-cloud-edit/fonts/glyphicons-halflings-regular.ttf - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Requires at least: Version not formatted correctly
wp-cloud-edit/wp-cloud-edit.php Passed 13 tests
The primary PHP file in "WP Cloud Edit" version 1.0 is used by WordPress to initiate all plugin functionality
67 characters long description:
云采编 基于云端最新资讯,方便快捷的发布新闻。
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected1,960 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 194 | 61 | 1,173 |
JavaScript | 7 | 59 | 31 | 481 |
CSS | 5 | 25 | 9 | 306 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
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 | 17 | |
▷ Named functions | 16 | 94.12% |
▷ Anonymous functions | 1 | 5.88% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected