Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.02MB] [CPU: ▼295.70ms] Passed 4 tests
A check of server-side resources used by Advanced S3 Destinations for BackWPup
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.01 | 56.11 ▲6.51 |
Dashboard /wp-admin | 3.41 ▲0.00 | 32.57 ▼0.21 |
Posts /wp-admin/edit.php | 3.64 ▲0.00 | 39.94 ▲3.86 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 95.99 ▼1,181.60 |
Media Library /wp-admin/upload.php | 3.29 ▼0.01 | 25.45 ▼4.83 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Advanced S3 Destinations for BackWPup
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,795 ▲73 | 15.79 ▲0.15 | 6.95 ▲0.45 | 2.93 ▲0.56 |
Dashboard /wp-admin | 2,895 ▲34 | 6.16 ▲0.01 | 118.24 ▼22.56 | 157.20 ▼1.66 |
Posts /wp-admin/edit.php | 2,694 ▼0 | 3.24 ▲0.01 | 64.62 ▲0.20 | 140.54 ▲1.72 |
Add New Post /wp-admin/post-new.php | 1,711 ▲50 | 20.84 ▲4.09 | 443.08 ▲31.23 | 160.14 ▲3.89 |
Media Library /wp-admin/upload.php | 1,698 ▲3 | 5.51 ▼0.00 | 142.54 ▼13.15 | 191.64 ▼7.94 |
Uninstaller [IO: ▲0.03MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Incomplete uninstall procedure, leaving 4 files (0.03MB) in the plugin directory
- (new file) advanced-backwpup-s3-destinations.php
- (new file) readme.txt
- (new file) LICENSE
- (new file) uninstall.php
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
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
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
Everything seems fine on the user side
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: backwpup, backup, destination, s3, storage
advanced-backwpup-s3-destinations/advanced-backwpup-s3-destinations.php Passed 13 tests
The primary PHP file in "Advanced S3 Destinations for BackWPup" version 1.1.2 is used by WordPress to initiate all plugin functionality
47 characters long description:
Easily add custom S3 destinations for BackWPup.
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
There were no executable files found in this plugin175 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 35 | 64 | 175 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 1 | |
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 | 8 | |
▷ Named functions | 3 | 37.50% |
▷ Anonymous functions | 5 | 62.50% |
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
No PNG images were found in this plugin