Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.85ms] Passed 4 tests
Server-side resources used by Yuma Companion
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.95 ▼2.55 |
Dashboard /wp-admin | 3.32 ▼0.02 | 44.29 ▼18.29 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 44.20 ▼0.97 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 92.82 ▼5.59 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 34.74 ▲0.77 |
Server storage [IO: ▲0.49MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 40 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Yuma Companion
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.76 ▼0.60 | 1.83 ▲0.05 | 43.95 ▲1.57 |
Dashboard /wp-admin | 2,209 ▲20 | 5.81 ▲0.81 | 97.63 ▼24.59 | 37.95 ▼8.95 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.04 ▲0.03 | 36.98 ▼3.06 | 31.36 ▼3.35 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.11 ▲5.43 | 621.62 ▼77.64 | 46.61 ▼6.53 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.20 ▲0.01 | 97.89 ▼15.06 | 40.58 ▼8.90 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Almost there! Just fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'ST_Yuma_Companion' not found in wp-content/plugins/yuma-companion/include/demo-import.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/yuma-companion/include/welcome.php:95
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/yuma-companion/include/options.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 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
2 plugin tags: companion, yuma
yuma-companion/yuma-companion.php Passed 13 tests
The main file in "Yuma Companion" v. 1.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
74 characters long description:
Add a supportive features, demos and options for Yuma Free and Pro Themes.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin702 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 96 | 166 | 621 |
CSS | 2 | 1 | 1 | 56 |
JavaScript | 2 | 7 | 1 | 25 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 9.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 19 | |
▷ Static methods | 1 | 5.26% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 27 | |
▷ Named functions | 27 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/yuma-logo.png | 2.22KB | 2.08KB | ▼ 6.30% |