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.06MB] [CPU: ▼167.62ms] Passed 4 tests
An overview of server-side resources used by Parallelize Downloads
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▲0.06 | 33.15 ▼1.03 |
Dashboard /wp-admin | 3.12 ▲0.07 | 53.71 ▲6.92 |
Posts /wp-admin/edit.php | 3.23 ▲0.13 | 47.88 ▲0.62 |
Add New Post /wp-admin/post-new.php | 5.48 ▲0.05 | 89.08 ▼671.29 |
Media Library /wp-admin/upload.php | 3.07 ▲0.06 | 31.61 ▲1.21 |
Parallelize Downloads /wp-admin/options-general.php?page=parallelize_downloads | 3.06 | 28.43 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Parallelize Downloads
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,688 ▲116 | 16.00 ▲0.28 | 10.19 ▼1.31 | 47.58 ▲0.06 |
Dashboard /wp-admin | 2,976 ▲45 | 5.96 ▼0.02 | 143.67 ▼7.00 | 100.61 ▼4.31 |
Posts /wp-admin/edit.php | 2,748 ▲9 | 2.72 ▼0.00 | 64.43 ▼3.93 | 86.95 ▼9.37 |
Add New Post /wp-admin/post-new.php | 1,679 ▲64 | 18.90 ▼2.38 | 397.15 ▲90.68 | 112.08 ▲9.82 |
Media Library /wp-admin/upload.php | 1,757 ▼53 | 4.99 ▼0.05 | 206.20 ▲60.11 | 116.37 ▲4.45 |
Parallelize Downloads /wp-admin/options-general.php?page=parallelize_downloads | 1,111 | 2.09 | 52.12 | 94.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
This plugin's uninstaller ran successfully
Smoke tests 50% from 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 0% from 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
Please fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/parallelize-downloads/public/partials/enshrined-parallelize-downloads-public-display.php
- > /wp-content/plugins/parallelize-downloads/admin/partials/enshrined-parallelize-downloads-admin-header.php
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/parallelize-downloads/admin/partials/enshrined-parallelize-downloads-admin-form.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/parallelize-downloads/admin/partials/enshrined-parallelize-downloads-admin-main.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/parallelize-downloads/admin/partials/enshrined-parallelize-downloads-admin-footer.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== parallelize-downloads ===
)
parallelize-downloads/enshrined-parallelize-downloads.php 85% from 13 tests
The main file in "Parallelize Downloads" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("parallelize-downloads.php" instead of "enshrined-parallelize-downloads.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
Success! There were no dangerous files found in this plugin307 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 149 | 617 | 260 |
CSS | 2 | 9 | 8 | 41 |
JavaScript | 2 | 4 | 54 | 6 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 31 | |
▷ Static methods | 2 | 6.45% |
▷ Public methods | 24 | 77.42% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 22.58% |
Functions | 3 | |
▷ Named functions | 3 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/logo.png | 5.47KB | 3.16KB | ▼ 42.16% |