Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼12.43ms] Passed 4 tests
A check of server-side resources used by Riddimstream
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 38.83 ▼11.66 |
Dashboard /wp-admin | 3.33 ▼0.02 | 44.71 ▼22.78 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.24 ▲1.18 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 89.35 ▼16.47 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.83 ▲2.17 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Riddimstream
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.24 ▼0.29 | 1.71 ▼0.47 | 40.48 ▼6.99 |
Dashboard /wp-admin | 2,195 ▲25 | 5.59 ▼0.06 | 90.83 ▼9.58 | 37.68 ▼1.85 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 2.01 ▼0.11 | 40.10 ▲0.00 | 33.38 ▼5.61 |
Add New Post /wp-admin/post-new.php | 1,527 ▲1 | 22.99 ▼0.53 | 631.75 ▼72.59 | 54.55 ▼0.52 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.19 ▲0.02 | 97.25 ▼12.15 | 45.17 ▼1.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for 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
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/riddimstream/tpl/iframe.php
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/riddimstream/tpl/iframe.php on line 5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/riddimstream/tpl/iframe.php on line 2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/riddimstream/tpl/iframe.php on line 3
- > PHP Notice
Undefined variable: atts in wp-content/plugins/riddimstream/tpl/iframe.php on line 5
- > PHP Notice
Undefined variable: atts in wp-content/plugins/riddimstream/tpl/iframe.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/riddimstream/riddimstream.php:14
- > PHP Notice
Undefined variable: atts in wp-content/plugins/riddimstream/tpl/iframe.php on line 2
- > PHP Notice
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 Passed 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
2 plugin tags: riddimstream, shortcode
riddimstream/riddimstream.php Passed 13 tests
The primary PHP file in "Riddimstream" version 1.1.0 is used by WordPress to initiate all plugin functionality
27 characters long description:
Embed Riddim Stream widgets
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected146 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 15 | 8 | 74 |
JavaScript | 1 | 11 | 30 | 72 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 1 | 14.29% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
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
1 PNG file occupies 0.04MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
js/riddim.png | 36.65KB | 9.58KB | ▼ 73.87% |