Benchmarks
Plugin footprint 75% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Parse error in wp-content/plugins/octillion-widget-for-btc-e-pamm-account/octillion_pamm.php+157
syntax error, unexpected '}', expecting end of file
Server metrics [RAM: ▼0.00MB] [CPU: ▼136.75ms] Passed 4 tests
Analyzing server-side resources used by Octillion Widget for BTC-e PAMM
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 36.62 ▲9.55 |
Dashboard /wp-admin | 3.06 ▲0.00 | 53.30 ▲14.56 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 51.22 ▲2.26 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 91.73 ▼567.50 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 34.66 ▲8.70 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Octillion Widget for BTC-e PAMM
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 16.25 ▲0.29 | 10.31 ▲2.59 | 49.09 ▼4.12 |
Dashboard /wp-admin | 2,989 ▲58 | 5.87 ▼0.14 | 161.01 ▲9.67 | 107.99 ▼25.65 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.82 ▲0.00 | 78.32 ▲4.76 | 88.18 ▼10.79 |
Add New Post /wp-admin/post-new.php | 1,581 ▼102 | 17.97 ▼0.16 | 428.23 ▲31.64 | 122.34 ▲6.61 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.01 ▲0.00 | 188.63 ▲24.98 | 144.81 ▲14.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Parse error
syntax error, unexpected '}', expecting end of file in wp-content/plugins/octillion-widget-for-btc-e-pamm-account/octillion_pamm.php on line 157
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
- Screenshots: Please describe screenshot #4 in octillion-widget-for-btc-e-pamm-account/assets to your readme.txt
octillion-widget-for-btc-e-pamm-account/octillion_pamm.php 92% from 13 tests
The main PHP script in "Octillion Widget for BTC-e PAMM" version 1.0.0 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("octillion-widget-for-btc-e-pamm-account.php" instead of "octillion_pamm.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin165 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 22 | 27 | 165 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.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 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected