Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.20MB] [CPU: ▼138.22ms] Passed 4 tests
An overview of server-side resources used by WPuppy
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.07 ▲0.35 | 36.46 ▲15.50 |
Dashboard /wp-admin | 3.30 ▲0.24 | 41.89 ▼2.73 |
Posts /wp-admin/edit.php | 3.34 ▲0.23 | 45.31 ▼0.01 |
Add New Post /wp-admin/post-new.php | 5.59 ▲0.15 | 88.56 ▼555.14 |
Media Library /wp-admin/upload.php | 3.18 ▲0.17 | 34.57 ▲5.00 |
Settings /wp-admin/admin.php?page=wpuppy/wpuppy-settings.php | 3.15 | 29.68 |
WPuppy /wp-admin/admin.php?page=wpuppy/wpuppy-admin.php | 3.16 | 28.84 |
Server storage [IO: ▲0.32MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 1 new option
New WordPress options |
---|
wpuppy_setup |
Browser metrics Passed 4 tests
WPuppy: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,713 ▲117 | 15.94 ▲0.38 | 8.07 ▼2.23 | 44.79 ▼3.52 |
Dashboard /wp-admin | 3,007 ▲73 | 5.91 ▼0.24 | 134.30 ▼8.96 | 110.50 ▼7.07 |
Posts /wp-admin/edit.php | 2,773 ▲34 | 2.71 ▼0.01 | 65.15 ▲1.02 | 93.02 ▼2.54 |
Add New Post /wp-admin/post-new.php | 1,894 ▲279 | 19.15 ▼2.19 | 383.43 ▲102.29 | 104.36 ▲0.56 |
Media Library /wp-admin/upload.php | 1,841 ▲34 | 5.04 ▼0.01 | 153.70 ▲2.69 | 123.84 ▲4.00 |
Settings /wp-admin/admin.php?page=wpuppy/wpuppy-settings.php | 1,043 | 2.08 | 54.56 | 67.56 |
WPuppy /wp-admin/admin.php?page=wpuppy/wpuppy-admin.php | 1,113 | 2.09 | 47.79 | 73.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 1 option in the database
- wpuppy_setup
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=wpuppy/wpuppy-admin.php
- > Notice in wp-content/plugins/wpuppy/wpuppy-admin.php+6
Undefined index: wpuppy-action
- > GET request to /wp-admin/admin.php?page=wpuppy/wpuppy-admin.php
- > Notice in wp-content/plugins/wpuppy/wpuppy-cachecleaner.php+49
Undefined index: wpuppy
SRP 50% from 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
Please fix the following
- 8× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wpuppy/wpuppy-api.php
- > /wp-content/plugins/wpuppy/recovery/wpuppy-reactivate.php
- > /wp-content/plugins/wpuppy/recovery/wpuppy-restore.php
- > /wp-content/plugins/wpuppy/wpuppy-login.php
- > /wp-content/plugins/wpuppy/wpuppy.php
- > /wp-content/plugins/wpuppy/wpuppy-settings.php
- > /wp-content/plugins/wpuppy/wpuppy-admin.php
- > /wp-content/plugins/wpuppy/wpuppy-setup.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were 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
7 plugin tags: wordpress update services, theme update, security, update plugins, wordpress auto update...
wpuppy/wpuppy.php Passed 13 tests
The main PHP file in "WPuppy" ver. 1.3.4.2 adds more information about the plugin and also serves as the entry point for this plugin
78 characters long description:
This is the plugin used by WPuppy web Application to communicate to Wordpress.
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
Good job! No executable or dangerous file extensions detected5,797 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 1,394 | 2,341 | 5,797 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 39.96 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 557.00 |
Average method complexity | 4.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 65.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 6 | 26.09% |
▷ Concrete classes | 17 | 73.91% |
▷ Final classes | 0 | 0.00% |
Methods | 231 | |
▷ Static methods | 7 | 3.03% |
▷ Public methods | 198 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 33 | 14.29% |
Functions | 17 | |
▷ Named functions | 14 | 82.35% |
▷ Anonymous functions | 3 | 17.65% |
Constants | 75 | |
▷ Global constants | 69 | 92.00% |
▷ Class constants | 6 | 8.00% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin