Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.57ms] Passed 4 tests
This is a short check of server-side resources used by Roman Rivera Business Consulting
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.19 ▼5.88 |
Dashboard /wp-admin | 3.34 ▲0.03 | 45.73 ▼14.02 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.15 ▲4.54 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 94.82 ▼0.38 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.54 ▼1.99 |
Add New /wp-admin/post-new.php?post_type=romanrivera-cpt | 3.37 | 51.73 |
Hello, World! /wp-admin/edit.php?post_type=romanrivera-cpt | 3.30 | 36.64 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Roman Rivera Business Consulting: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲113 | 13.16 ▼1.50 | 1.50 ▼0.32 | 37.30 ▼5.65 |
Dashboard /wp-admin | 2,247 ▲59 | 4.82 ▼0.25 | 109.51 ▼6.19 | 42.72 ▼1.02 |
Posts /wp-admin/edit.php | 2,133 ▲44 | 2.02 ▼0.00 | 39.03 ▲3.93 | 34.87 ▼0.70 |
Add New Post /wp-admin/post-new.php | 1,574 ▲60 | 18.31 ▲0.42 | 621.05 ▼65.97 | 62.77 ▲3.45 |
Media Library /wp-admin/upload.php | 1,429 ▲41 | 4.22 ▲0.03 | 96.31 ▼17.25 | 42.50 ▼6.16 |
Add New /wp-admin/post-new.php?post_type=romanrivera-cpt | 2,178 | 7.74 | 175.01 | 63.40 |
Hello, World! /wp-admin/edit.php?post_type=romanrivera-cpt | 1,094 | 1.99 | 29.65 | 29.52 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (Bulk SMS Messaging), #2 (Plugin's main menu page)
roman-rivera-business-consulting/roman-rivera-business-consulting.php 92% from 13 tests
This is the main PHP file of "Roman Rivera Business Consulting" 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
You should first fix the following items:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
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 detected62 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 26 | 58 | 62 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.13MB with 0.07MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 64.81KB | 25.88KB | ▼ 60.07% |
screenshot-1.png | 71.79KB | 36.77KB | ▼ 48.78% |