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 gracefully, with no errors
Server metrics [RAM: ▲0.56MB] [CPU: ▼134.44ms] Passed 4 tests
Server-side resources used by Multisite Toolbar Additions
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.28 ▲0.55 | 47.28 ▲26.85 |
Dashboard /wp-admin | 3.66 ▲0.60 | 52.25 ▲4.68 |
Posts /wp-admin/edit.php | 3.71 ▲0.60 | 54.41 ▲7.89 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.49 | 103.04 ▼554.56 |
Media Library /wp-admin/upload.php | 3.67 ▲0.66 | 39.58 ▲4.22 |
Server storage [IO: ▲0.76MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 62 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Multisite Toolbar Additions
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,189 ▲593 | 16.38 ▲0.43 | 9.99 ▲0.29 | 46.28 ▼8.34 |
Dashboard /wp-admin | 3,235 ▲301 | 6.00 ▼0.09 | 138.39 ▼15.78 | 102.15 ▼12.94 |
Posts /wp-admin/edit.php | 3,002 ▲266 | 2.75 ▲0.03 | 74.63 ▲7.44 | 97.66 ▲5.43 |
Add New Post /wp-admin/post-new.php | 1,706 ▲34 | 18.66 ▼0.42 | 380.98 ▼26.66 | 114.29 ▲2.30 |
Media Library /wp-admin/upload.php | 2,073 ▲266 | 5.10 ▲0.05 | 155.13 ▼7.39 | 125.99 ▼9.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% 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 no errors were found, this is by no means an exhaustive test
SRP 50% 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 take a closer look at the following
- 41× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/multisite-toolbar-additions/includes/plugin-support/mstba-plugins-smartcrontools.php
- > /wp-content/plugins/multisite-toolbar-additions/includes/mstba-network-new-content.php
- > /wp-content/plugins/multisite-toolbar-additions/includes/mstba-global-functions.php
- > /wp-content/plugins/multisite-toolbar-additions/includes/plugin-support/mstba-plugins-betterwpsecurity.php
- > /wp-content/plugins/multisite-toolbar-additions/includes/plugin-support/mstba-plugins-backwpup3x.php
- > /wp-content/plugins/multisite-toolbar-additions/includes/mstba-items-widgets.php
- > /wp-content/plugins/multisite-toolbar-additions/includes/ddwlib-plir/ddwlib-plugin-installer-recommendations.php
- > /wp-content/plugins/multisite-toolbar-additions/includes/plugin-support/mstba-plugins-smarttabberwidget.php
- > /wp-content/plugins/multisite-toolbar-additions/includes/mstba-items-resources.php
- > /wp-content/plugins/multisite-toolbar-additions/includes/plugin-support/mstba-plugins-ultimatebranding.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: You are using too many tags: 12 tag instead of maximum 10
multisite-toolbar-additions/multisite-toolbar-additions.php 92% from 13 tests
Analyzing the main PHP file in "Multisite Toolbar Additions" version 2.0.1
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 195 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin8,837 lines of code in 50 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 43 | 1,701 | 2,645 | 6,106 |
PO File | 2 | 884 | 1,788 | 2,062 |
Markdown | 3 | 221 | 0 | 519 |
CSS | 1 | 36 | 11 | 128 |
JSON | 1 | 0 | 0 | 22 |
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.59 |
Average class complexity | 45.00 |
▷ Minimum class complexity | 45.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 3.32 |
▷ 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 | 19 | |
▷ Static methods | 18 | 94.74% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 64 | |
▷ Named functions | 64 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 12 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/ddwlib-plir/deckerweb-plugins-logo.png | 15.80KB | 6.20KB | ▼ 60.78% |