Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/yourcareeverywhere/yce-feed.php+102
Methods with the same name as their class will not be constructors in a future version of PHP; yce_feed_wp_plugin has a deprecated constructor
Server metrics [RAM: ▼1.90MB] [CPU: ▼52.55ms] Passed 4 tests
Server-side resources used by YourCareEverywhere Feed
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.09 ▼1.37 | 4.26 ▼38.63 |
Dashboard /wp-admin | 2.11 ▼1.19 | 6.63 ▼44.82 |
Posts /wp-admin/edit.php | 2.11 ▼1.24 | 5.78 ▼39.15 |
Add New Post /wp-admin/post-new.php | 2.11 ▼3.78 | 6.64 ▼87.59 |
Media Library /wp-admin/upload.php | 2.11 ▼1.12 | 5.58 ▼29.21 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_yce_feed_wp_plugin |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
YourCareEverywhere Feed: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲99 | 13.69 ▼0.89 | 1.80 ▲0.08 | 37.39 ▼9.34 |
Dashboard /wp-admin | 2,219 ▲31 | 5.82 ▲0.93 | 95.12 ▼12.08 | 39.81 ▼5.96 |
Posts /wp-admin/edit.php | 2,102 ▲13 | 2.04 ▲0.03 | 35.33 ▼2.70 | 32.73 ▼1.16 |
Add New Post /wp-admin/post-new.php | 1,534 ▲15 | 23.09 ▼0.28 | 666.42 ▲43.34 | 58.43 ▲12.13 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.27 ▲0.11 | 94.19 ▼6.03 | 41.00 ▲0.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/yourcareeverywhere/yce-feed.php+102
Methods with the same name as their class will not be constructors in a future version of PHP; yce_feed_wp_plugin has a deprecated constructor
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_yce_feed_wp_plugin
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/yourcareeverywhere/includes/widget.php
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Undefined variable: before_widget in wp-content/plugins/yourcareeverywhere/includes/widget.php on line 2
- > PHP Notice
Undefined variable: after_widget in wp-content/plugins/yourcareeverywhere/includes/widget.php on line 19
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/yourcareeverywhere/includes/admin_settings.php:6
- > PHP Notice
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: yourcareeverywhere, feed, plugin, medhost
yourcareeverywhere/yce-feed.php 92% from 13 tests
The principal PHP file in "YourCareEverywhere Feed" v. 1.0 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("yourcareeverywhere.php" instead of "yce-feed.php")
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 detected240 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 30 | 44 | 209 |
CSS | 1 | 1 | 0 | 31 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 3.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
There were not PNG files found in your plugin