Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼275.17ms] Passed 4 tests
An overview of server-side resources used by wpCentral
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 43.45 ▲19.30 |
Dashboard /wp-admin | 3.07 ▲0.02 | 48.44 ▲2.44 |
Posts /wp-admin/edit.php | 3.13 ▲0.03 | 44.34 ▼1.01 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 90.79 ▼1,099.65 |
Media Library /wp-admin/upload.php | 3.02 ▲0.01 | 36.21 ▼2.44 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 2 new options
New WordPress options |
---|
wpcentral_version |
wpcentral_auth_key |
Browser metrics Passed 4 tests
wpCentral: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,816 ▲210 | 15.94 ▲0.47 | 8.02 ▼0.29 | 43.23 ▼1.60 |
Dashboard /wp-admin | 3,071 ▲218 | 6.20 ▲0.36 | 132.44 ▼1.87 | 136.26 ▲32.40 |
Posts /wp-admin/edit.php | 2,873 ▲170 | 2.83 ▲0.13 | 61.93 ▼1.39 | 107.85 ▲14.42 |
Add New Post /wp-admin/post-new.php | 1,692 ▲39 | 14.12 ▼4.65 | 274.15 ▼86.33 | 109.10 ▲1.39 |
Media Library /wp-admin/upload.php | 1,866 ▲97 | 5.05 ▲0.03 | 142.82 ▼15.65 | 150.92 ▲33.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 1 option
- wpcentral_version
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means 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
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 just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: softaculous, backup, themes, manage sites, sites...
wp-central/wpcentral.php 85% from 13 tests
The main PHP script in "wpCentral" version 1.5.6 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-central.php" instead of "wpcentral.php")
- Text Domain: The text domain name should consist of only dashes and lowercase characters
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 detected3,096 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 1,006 | 1,253 | 3,096 |
PHP code Passed 2 tests
This is a very shot review of 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.41 |
Average class complexity | 187.00 |
▷ Minimum class complexity | 187.00 |
▷ Maximum class complexity | 187.00 |
Average method complexity | 17.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 59.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 | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 112 | |
▷ Named functions | 112 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/wpc_ico_dark_19.png | 1.25KB | 1.14KB | ▼ 8.79% |
images/wpc_icon_light_19.png | 1.62KB | 0.90KB | ▼ 44.46% |
images/facebook.png | 1.27KB | 1.56KB | 0.00% |
images/wpc_icon_dark.png | 12.07KB | 5.81KB | ▼ 51.90% |
images/twitter.png | 1.29KB | 1.46KB | 0.00% |