Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼147.09ms] Passed 4 tests
An overview of server-side resources used by Potentially - helps you gain new customers
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.02 | 30.37 ▲3.30 |
Dashboard /wp-admin | 3.16 ▲0.10 | 997.56 ▲958.30 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 36.61 ▼4.73 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.01 | 75.94 ▼593.70 |
Media Library /wp-admin/upload.php | 3.03 ▲0.02 | 30.62 ▲6.78 |
Server storage [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: no files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Potentially - helps you gain new customers
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,806 ▲181 | 16.05 ▲0.92 | 8.66 ▲3.59 | 56.08 ▼19.90 |
Dashboard /wp-admin | 3,070 ▲174 | 6.19 ▲0.03 | 117.99 ▼15.48 | 211.98 ▲33.58 |
Posts /wp-admin/edit.php | 2,784 ▲44 | 3.23 ▼0.01 | 66.81 ▲1.50 | 136.29 ▼4.53 |
Add New Post /wp-admin/post-new.php | 3,723 ▼20 | 18.82 ▼0.38 | 452.65 ▲30.01 | 164.76 ▲2.45 |
Media Library /wp-admin/upload.php | 1,795 ▲43 | 5.54 ▲0.09 | 144.36 ▼7.43 | 186.75 ▼6.17 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully
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
Everything seems fine, however 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
Please fix the following items
- 4× PHP files output text when accessed directly:
- > /wp-content/plugins/potentially/includes/class-oc-potentially-dashboard-widget.php
- > /wp-content/plugins/potentially/potentially.php
- > /wp-content/plugins/potentially/includes/class-oc-potentially.php
- > /wp-content/plugins/potentially/includes/oc-potentially-commons.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: You are using too many tags: 11 tag instead of maximum 10
potentially/potentially.php Passed 13 tests
"Potentially - helps you gain new customers" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
54 characters long description:
How many new paying customers can you gain this month?
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
Good job! No executable or dangerous file extensions detected1,923 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 111 | 4 | 1,784 |
PHP | 4 | 27 | 41 | 139 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 1.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 | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 9 | 100.00% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin