Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼140.72ms] Passed 4 tests
This is a short check of server-side resources used by PRyC WP: Force protocol relative to uploaded media
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 34.51 ▲14.47 |
Dashboard /wp-admin | 3.06 ▲0.01 | 43.57 ▼2.79 |
Posts /wp-admin/edit.php | 3.11 ▼0.01 | 44.78 ▼5.99 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 89.22 ▼555.10 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 31.97 ▲1.01 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by PRyC WP: Force protocol relative to uploaded media
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲66 | 16.13 ▲0.26 | 9.63 ▲1.52 | 46.05 ▼1.78 |
Dashboard /wp-admin | 2,970 ▲39 | 5.84 ▼0.31 | 140.81 ▼12.53 | 110.27 ▼5.24 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.69 ▼0.01 | 63.45 ▼7.39 | 80.16 ▼10.23 |
Add New Post /wp-admin/post-new.php | 1,500 ▼0 | 18.56 ▲0.14 | 372.37 ▲18.95 | 100.77 ▼2.54 |
Media Library /wp-admin/upload.php | 1,807 ▼3 | 5.04 ▲0.04 | 149.32 ▲3.49 | 113.71 ▼4.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files
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 Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: ssl, wordpress, http, https, url
pryc-wp-force-protocol-relative-to-uploaded-media/pryc-wp-force-protocol-relative-to-uploaded-media.php Passed 13 tests
"PRyC WP: Force protocol relative to uploaded media" version 1.0.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
111 characters long description:
Force protocol relative (\\ instead http:\\ or https:\\) for files added in the content editor (eg. post, page)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin9 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 12 | 23 | 9 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.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
No PNG files were detected