Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▲0.64ms] Passed 4 tests
This is a short check of server-side resources used by RubyTabs Lite
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 41.12 ▼4.82 |
Dashboard /wp-admin | 3.46 ▲0.16 | 52.44 ▼2.24 |
Posts /wp-admin/edit.php | 3.57 ▲0.22 | 54.39 ▲5.71 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 110.15 ▲15.17 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 38.18 ▲3.90 |
Server storage [IO: ▲0.64MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 70 new files
Database: no new tables, 9 new options
New WordPress options |
---|
rt03 |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_rubytabs_widget |
ruby01VA |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for RubyTabs Lite
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,913 ▲167 | 13.74 ▼0.58 | 5.61 ▲3.80 | 40.58 ▼1.02 |
Dashboard /wp-admin | 2,222 ▲34 | 4.92 ▼0.91 | 105.50 ▼1.66 | 77.93 ▲32.77 |
Posts /wp-admin/edit.php | 2,117 ▲28 | 1.99 ▲0.00 | 40.69 ▲0.15 | 36.61 ▼1.41 |
Add New Post /wp-admin/post-new.php | 1,706 ▲176 | 24.49 ▲5.87 | 721.79 ▲86.75 | 62.68 ▲5.84 |
Media Library /wp-admin/upload.php | 1,410 ▲28 | 4.21 ▲0.02 | 103.96 ▲3.85 | 72.82 ▲28.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- widget_rubytabs_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Please fix the following
- 12× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/rubytabs-lite/admin/part-options.php
- > /wp-content/plugins/rubytabs-lite/admin/part-inline.php
- > /wp-content/plugins/rubytabs-lite/admin/nav-alltabs.php
- > /wp-content/plugins/rubytabs-lite/admin/page-alltabs.php
- > /wp-content/plugins/rubytabs-lite/admin/part-import-export.php
- > /wp-content/plugins/rubytabs-lite/admin/nav-footer.php
- > /wp-content/plugins/rubytabs-lite/admin/part-options-swipe.php
- > /wp-content/plugins/rubytabs-lite/admin/part-options-position.php
- > /wp-content/plugins/rubytabs-lite/admin/page-hidden.php
- > /wp-content/plugins/rubytabs-lite/admin/part-options-other.php
- 109× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: jsData in wp-content/plugins/rubytabs-lite/admin/part-options-swipe.php on line 15
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/rubytabs-lite/admin/part-options-position.php on line 36
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/rubytabs-lite/admin/page-tabs.php on line 22
- > PHP Notice
Undefined variable: jsData in wp-content/plugins/rubytabs-lite/admin/part-options-swipe.php on line 26
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/rubytabs-lite/admin/part-options-skin.php on line 15
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/rubytabs-lite/admin/part-options.php on line 67
- > PHP Notice
Undefined variable: contents in wp-content/plugins/rubytabs-lite/admin/page-slide.php on line 151
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/rubytabs-lite/admin/part-options-swipe.php on line 37
- > PHP Notice
Undefined variable: opts_main in wp-content/plugins/rubytabs-lite/admin/page-tabs.php on line 10
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/rubytabs-lite/admin/part-options-effect.php on line 45
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== rubytabs-lite ===
) - Tags: There are too many tags (15 tag instead of maximum 10)
- Screenshots: Add images for these screenshots: #1 (Admin page All-Tabs), #2 (Admin page Tabs Editor)
rubytabs-lite/rubytabs_lite.php 92% from 13 tests
Analyzing the main PHP file in "RubyTabs Lite" version 1.031
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("rubytabs-lite.php" instead of "rubytabs_lite.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected4,286 lines of code in 55 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 882 | 294 | 1,747 |
PHP | 22 | 908 | 523 | 1,479 |
SVG | 14 | 49 | 14 | 789 |
JSON | 1 | 36 | 0 | 198 |
JavaScript | 10 | 46 | 45 | 73 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 77.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 22.22% |
Functions | 28 | |
▷ Named functions | 26 | 92.86% |
▷ Anonymous functions | 2 | 7.14% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
11 PNG files occupy 0.07MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
ruby/imgs/pattern-dot-dark.png | 0.11KB | 0.10KB | ▼ 12.17% |
ruby/imgs/icon-nav.png | 1.19KB | 1.13KB | ▼ 5.16% |
ruby/imgs/icon-playpause.png | 0.38KB | 0.26KB | ▼ 31.98% |
ruby/imgs/grab.png | 1.10KB | 0.16KB | ▼ 85.45% |
admin/imgs/rb01close.png | 0.16KB | 0.13KB | ▼ 17.39% |