Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.40ms] Passed 4 tests
A check of server-side resources used by Roojoom
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.43 ▲2.31 |
Dashboard /wp-admin | 3.33 ▼0.01 | 42.20 ▼18.84 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 44.93 ▼0.06 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 88.74 ▼4.50 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 34.89 ▲1.80 |
Roojoom /wp-admin/options-general.php?page=roojoom | 3.22 | 29.64 |
Server storage [IO: ▲0.40MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 25 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_roojoom |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Roojoom: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.12 ▼1.55 | 1.57 ▼0.11 | 42.32 ▲0.23 |
Dashboard /wp-admin | 2,210 ▲21 | 5.84 ▲0.92 | 95.53 ▼19.05 | 38.82 ▼2.12 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.04 ▲0.05 | 38.84 ▲0.99 | 34.61 ▲1.56 |
Add New Post /wp-admin/post-new.php | 1,536 ▼0 | 23.07 ▼0.30 | 595.24 ▼74.99 | 50.80 ▼4.63 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.17 ▼0.06 | 94.58 ▼4.26 | 40.71 ▼2.23 |
Roojoom /wp-admin/options-general.php?page=roojoom | 854 | 2.15 | 26.29 | 27.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- widget_roojoom
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: oembed, roojoom, shortcode, embed
roojoom/index.php 92% from 13 tests
The main file in "Roojoom" v. 1.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("roojoom.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin388 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 149 | 183 | 388 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 7.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 4.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 4 | 25.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 31 | |
▷ Named functions | 31 | 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
6 PNG files occupy 0.35MB with 0.24MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 25.11KB | 7.75KB | ▼ 69.16% |
screenshot-5.png | 110.12KB | 35.50KB | ▼ 67.76% |
screenshot-3.png | 88.96KB | 28.17KB | ▼ 68.34% |
screenshot-1.png | 101.49KB | 32.44KB | ▼ 68.04% |
screenshot-4.png | 28.90KB | 9.31KB | ▼ 67.79% |