Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.58MB] [CPU: ▼12.24ms] Passed 4 tests
This is a short check of server-side resources used by Redlaxia
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 37.32 ▼2.40 |
Dashboard /wp-admin | 3.42 ▲0.11 | 49.34 ▲5.17 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 54.77 ▲13.31 |
Add New Post /wp-admin/post-new.php | 3.27 ▼2.62 | 37.51 ▼56.64 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 36.27 ▲4.91 |
Server storage [IO: ▲0.82MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Redlaxia
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,950 ▲204 | 14.73 ▲0.50 | 1.57 ▼0.20 | 36.36 ▼11.82 |
Dashboard /wp-admin | 2,341 ▲153 | 6.49 ▲0.48 | 132.06 ▲28.38 | 77.18 ▲40.72 |
Posts /wp-admin/edit.php | 2,262 ▲173 | 3.37 ▲1.38 | 49.42 ▲9.54 | 75.88 ▲39.10 |
Add New Post /wp-admin/post-new.php | 1,531 ▼2 | 23.14 ▼0.07 | 668.25 ▲39.48 | 35.91 ▼9.59 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.05 ▼0.19 | 80.18 ▼18.72 | 85.70 ▲42.77 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% 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:
- Screenshots: Please a description for screenshot #1 in redlaxia/assets to your readme.txt
- Requires at least: Invalid plugin version format
redlaxia/redlaxia.php 85% from 13 tests
The principal PHP file in "Redlaxia" v. 1.0.5 is loaded by WordPress automatically on each request
You should first fix the following items:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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
Good job! No executable or dangerous file extensions detected877 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 93 | 99 | 857 |
JavaScript | 1 | 7 | 4 | 20 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 23 | |
▷ Named functions | 19 | 82.61% |
▷ Anonymous functions | 4 | 17.39% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 0.75MB with 0.37MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo-r.png | 1.60KB | 0.86KB | ▼ 46.09% |
images/noimage.png | 4.71KB | 4.68KB | ▼ 0.54% |
images/logo-r-menu.png | 3.03KB | 0.53KB | ▼ 82.42% |
images/example.png | 739.46KB | 203.64KB | ▼ 72.46% |
images/no-img.png | 16.28KB | 8.53KB | ▼ 47.62% |