Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼5.43ms] Passed 4 tests
Server-side resources used by Ripple Themes Toolset
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 41.49 ▲1.72 |
Dashboard /wp-admin | 3.40 ▲0.06 | 46.19 ▼13.29 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 44.51 ▲0.98 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 81.89 ▼11.12 |
Media Library /wp-admin/upload.php | 3.32 ▲0.10 | 37.64 ▲1.79 |
Server storage [IO: ▲35.15MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Just a few items left to fix
- Try to limit filesystem usage to 25MB (currently using 35.15MB)
Filesystem: 262 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Ripple Themes Toolset
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.16 ▼1.10 | 1.75 ▼0.10 | 43.99 ▼6.27 |
Dashboard /wp-admin | 2,206 ▲18 | 5.85 ▲0.95 | 111.37 ▲7.12 | 43.59 ▲4.42 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.06 ▲0.07 | 33.90 ▼4.61 | 33.97 ▲0.81 |
Add New Post /wp-admin/post-new.php | 1,514 ▼5 | 17.48 ▼5.58 | 666.63 ▼9.65 | 56.43 ▲6.90 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.13 ▼0.28 | 108.34 ▼6.46 | 46.22 ▼2.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ripple-themes-toolset/demosArrays/publicblogdemo.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ripple-themes-toolset/demosArrays/dashydemo.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ripple-themes-toolset/demosArrays/dashyblogdemo.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Please add an image for screenshot #1 (Ripple Themes Toolset)
ripple-themes-toolset/ripplethemes-toolset.php 69% from 13 tests
Analyzing the main PHP file in "Ripple Themes Toolset" version 1.0.7
The following require your attention:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Description: Please keep the plugin description shorter than 140 characters (currently 159 characters long)
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("ripple-themes-toolset.php" instead of "ripplethemes-toolset.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected1,415 lines of code in 95 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 107 | 42 | 1,250 |
JSON | 86 | 0 | 0 | 86 |
CSS | 1 | 5 | 0 | 56 |
JavaScript | 1 | 5 | 5 | 23 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 3.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.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 | 13 | |
▷ Static methods | 2 | 15.38% |
▷ Public methods | 11 | 84.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 15.38% |
Functions | 5 | |
▷ Named functions | 5 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected