Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.02MB] [CPU: ▼316.62ms] Passed 4 tests
Server-side resources used by LH Dequeue RtMedia
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.04 | 50.38 ▼1.76 |
Dashboard /wp-admin | 3.41 ▲0.01 | 31.36 ▼2.02 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 36.74 ▼2.43 |
Add New Post /wp-admin/post-new.php | 6.88 ▼0.09 | 93.51 ▼1,260.27 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 26.73 ▲3.28 |
RTMedia /wp-admin/options-general.php?page=rtmedia-settings | 3.18 | 18.71 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
LH Dequeue RtMedia: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,800 ▲78 | 15.82 ▲0.04 | 5.57 ▼0.69 | 2.98 ▲0.53 |
Dashboard /wp-admin | 2,907 ▲49 | 6.09 ▼0.02 | 127.09 ▼6.60 | 189.81 ▲26.74 |
Posts /wp-admin/edit.php | 2,696 ▲5 | 3.24 ▲0.01 | 63.94 ▲2.22 | 138.82 ▼6.38 |
Add New Post /wp-admin/post-new.php | 1,761 ▲122 | 21.32 ▼0.07 | 438.15 ▲13.23 | 183.09 ▲33.78 |
Media Library /wp-admin/upload.php | 1,703 ▲5 | 5.51 ▼0.01 | 163.37 ▲26.39 | 257.43 ▲65.92 |
RTMedia /wp-admin/options-general.php?page=rtmedia-settings | 28 | 0.94 | 0.04 | 16.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=rtmedia-settings
- > Network (severe)
wp-admin/options-general.php?page=rtmedia-settings - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
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
5 plugin tags: style, rtmedia, dequeue, buddypress, script
lh-dequeue-rtmedia/lh-dequeu-rtmedia.php 92% from 13 tests
The main PHP script in "LH Dequeue RtMedia" version 1.03 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("lh-dequeue-rtmedia.php" instead of "lh-dequeu-rtmedia.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 detected109 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 111 | 14 | 109 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 8 | |
▷ Static methods | 1 | 12.50% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected