Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼11.53ms] Passed 4 tests
This is a short check of server-side resources used by NotWiz Ruby Text
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.46 ▼3.42 |
Dashboard /wp-admin | 3.34 ▼0.01 | 49.99 ▼14.37 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 45.73 ▼2.71 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 84.77 ▼25.61 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.59 ▲1.86 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by NotWiz Ruby Text
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.60 ▼0.01 | 1.86 ▼0.17 | 46.72 ▼0.12 |
Dashboard /wp-admin | 2,195 ▲18 | 5.67 ▲0.11 | 100.54 ▼0.64 | 41.46 ▼1.28 |
Posts /wp-admin/edit.php | 2,082 ▼18 | 2.02 ▲0.01 | 34.59 ▼3.03 | 34.07 ▼1.55 |
Add New Post /wp-admin/post-new.php | 1,530 ▲4 | 23.20 ▲5.57 | 623.51 ▼69.40 | 55.15 ▼0.45 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.20 ▼0.08 | 99.32 ▲1.88 | 43.43 ▼2.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Congratulations! This plugin passed the SRP 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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (Input Text.), #2 (Push NotWiz Ruby Text Toolbar Button.), #3 (Input ruby text.), #4 (Enter apply button.), #5 (decoration a ruby text.)
notwiz-ruby-text/notwiz-ruby-text.php Passed 13 tests
The main PHP file in "NotWiz Ruby Text" ver. 1.1.1 adds more information about the plugin and also serves as the entry point for this plugin
37 characters long description:
Ruby Text for Block Editor(Gutenberg)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin150 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 26 | 12 | 146 |
CSS | 1 | 0 | 0 | 1 |
JSON | 1 | 0 | 0 | 1 |
JavaScript | 1 | 0 | 0 | 1 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 12 | |
▷ Static methods | 5 | 41.67% |
▷ Public methods | 11 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 8.33% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 PNG files occupy 0.35MB with 0.19MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 179.57KB | 72.38KB | ▼ 59.69% |
assets/banner-1544x500.png | 99.03KB | 55.70KB | ▼ 43.75% |
assets/icon-256x256.png | 23.64KB | 10.19KB | ▼ 56.90% |
assets/icon-128x128.png | 11.25KB | 5.08KB | ▼ 54.80% |
assets/banner-772x250.png | 47.48KB | 22.72KB | ▼ 52.15% |