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.00MB] [CPU: ▼315.28ms] Passed 4 tests
Server-side resources used by Double T Software Webstore Toolbar
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.00 | 33.32 ▲1.82 |
Dashboard /wp-admin | 3.07 ▲0.01 | 50.91 ▼3.36 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 42.80 ▼13.86 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 93.81 ▼1,236.58 |
Media Library /wp-admin/upload.php | 3.01 ▲0.00 | 31.61 ▼7.30 |
Double T Software Toolbar /wp-admin/options-general.php?page=double-t-software-webstore-toolbar | 2.98 | 27.33 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Double T Software Webstore Toolbar
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲97 | 15.83 ▲0.16 | 7.24 ▼0.64 | 49.86 ▲2.66 |
Dashboard /wp-admin | 2,957 ▲107 | 5.95 ▲0.08 | 130.54 ▼8.65 | 98.39 ▼4.29 |
Posts /wp-admin/edit.php | 2,708 ▲2 | 2.69 ▼0.00 | 59.29 ▼14.18 | 79.81 ▼18.23 |
Add New Post /wp-admin/post-new.php | 1,856 ▲375 | 18.81 ▲1.92 | 369.57 ▲10.87 | 112.75 ▲8.54 |
Media Library /wp-admin/upload.php | 1,777 ▲5 | 5.03 ▲0.02 | 143.16 ▼11.35 | 105.29 ▼8.26 |
Double T Software Toolbar /wp-admin/options-general.php?page=double-t-software-webstore-toolbar | 1,017 | 2.09 | 52.73 | 65.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/double-t-software-webstore-toolbar/double-t-software.php:102
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 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: toolbar, web store, paypal, payment, shopping cart
double-t-software-webstore-toolbar/double-t-software.php 85% from 13 tests
Analyzing the main PHP file in "Double T Software Webstore Toolbar" version 1.0.0
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 143 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("double-t-software-webstore-toolbar.php" instead of "double-t-software.php")
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
Success! There were no dangerous files found in this plugin82 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 12 | 11 | 82 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 6 | 85.71% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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 1 test
Image compression Passed 1 test
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin