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: ▼4.28ms] Passed 4 tests
This is a short check of server-side resources used by Content Randomizer FREE
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 41.91 ▼6.50 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.75 ▼0.59 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.38 ▼1.19 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.84 ▼8.82 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.92 ▲4.19 |
Content Randomizer /wp-admin/options-general.php?page=content-randomizer | 3.21 | 30.56 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Content Randomizer FREE
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.22 ▼1.05 | 2.08 ▲0.05 | 42.90 ▲4.11 |
Dashboard /wp-admin | 2,210 ▲19 | 5.87 ▲1.00 | 107.62 ▼2.58 | 48.30 ▲2.10 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 1.99 ▼0.02 | 39.89 ▲0.53 | 35.31 ▼3.40 |
Add New Post /wp-admin/post-new.php | 1,671 ▲157 | 22.22 ▲4.73 | 659.26 ▼14.74 | 52.06 ▼3.51 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.24 ▲0.06 | 97.49 ▼1.77 | 41.89 ▼5.63 |
Content Randomizer /wp-admin/options-general.php?page=content-randomizer | 851 | 2.05 | 23.82 | 30.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/content-randomizer-free/content-randomizer-free.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Showing raw content and [gen] shortcode.), #2 (Showing output of content after being processed.), #3 (Showing back end settings page of plugin.)
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== content-randomizer-free ===
)
content-randomizer-free/content-randomizer-free.php 92% from 13 tests
This is the main PHP file of "Content Randomizer FREE" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 143 characters long)
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
Success! There were no dangerous files found in this plugin74 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 22 | 25 | 74 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 5 | |
▷ Named functions | 5 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin