Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.20ms] Passed 4 tests
Analyzing server-side resources used by Lunite Tunnel
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.12 ▼2.80 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.36 ▼2.39 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.39 ▼6.14 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.93 ▼6.65 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.65 ▼5.19 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Lunite Tunnel
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.34 ▼1.03 | 1.84 ▼0.29 | 43.87 ▼0.14 |
Dashboard /wp-admin | 2,206 ▲18 | 5.90 ▲1.04 | 102.45 ▼15.92 | 43.34 ▼2.91 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.06 ▲0.04 | 34.97 ▼2.84 | 36.36 ▼1.01 |
Add New Post /wp-admin/post-new.php | 1,514 ▼24 | 17.75 ▼5.54 | 663.42 ▼15.88 | 65.23 ▼1.44 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.17 ▲0.01 | 94.99 ▼16.59 | 42.22 ▼5.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- 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
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Donate link: Please fix this invalid url: "'https://github.com/keshansandeepa'"
lunite-tunnel/lunite-tunnel.php 92% from 13 tests
The principal PHP file in "Lunite Tunnel" v. 1.0.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Requires at least: The required version number did not match the one declared in readme.txt ("5.1" instead of "5.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin681 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 102 | 243 | 436 |
CSS | 1 | 92 | 132 | 245 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 3.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 2 | 5.26% |
▷ Public methods | 20 | 52.63% |
▷ Protected methods | 6 | 15.79% |
▷ Private methods | 12 | 31.58% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
1 PNG file occupies 0.05MB with 0.04MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 49.85KB | 13.32KB | ▼ 73.29% |