Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼290.33ms] Passed 4 tests
A check of server-side resources used by Absolute Relative URLs
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.12 | 65.08 ▲14.06 |
Dashboard /wp-admin | 3.47 ▲0.06 | 35.00 ▼27.13 |
Posts /wp-admin/edit.php | 3.70 ▲0.05 | 58.35 ▲17.41 |
Add New Post /wp-admin/post-new.php | 6.94 ▼0.04 | 102.85 ▼1,154.06 |
Media Library /wp-admin/upload.php | 3.35 ▲0.05 | 37.45 ▲5.83 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Absolute Relative URLs
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,795 ▲73 | 15.95 ▲0.30 | 6.07 ▼0.48 | 2.95 ▲0.58 |
Dashboard /wp-admin | 2,895 ▲42 | 6.14 ▼0.01 | 128.35 ▲4.33 | 239.03 ▲68.23 |
Posts /wp-admin/edit.php | 2,691 ▲1 | 3.36 ▼0.01 | 63.41 ▲0.15 | 146.21 ▲0.29 |
Add New Post /wp-admin/post-new.php | 1,719 ▲58 | 21.52 ▲5.31 | 505.72 ▲104.25 | 176.74 ▲0.56 |
Media Library /wp-admin/upload.php | 1,695 ▼3 | 5.50 ▼0.03 | 158.33 ▲18.50 | 213.91 ▲22.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Congratulations! This plugin passed the SRP test
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 Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: website, absolute, relative, portable, url...
absolute-relative-urls/absolute-relative-urls.php Passed 13 tests
The main PHP file in "Absolute Relative URLs" ver. 1.6.2 adds more information about the plugin and also serves as the entry point for this plugin
80 characters long description:
Want to host your Wordpress site from a different domain? This plugin will help!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected173 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 38 | 85 | 173 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 30.00 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 5.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 7 | |
▷ Static methods | 1 | 14.29% |
▷ Public methods | 5 | 71.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 28.57% |
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
PNG images were not found in this plugin