Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼6.69ms] Passed 4 tests
An overview of server-side resources used by Real-time Bitcoin Converter
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 34.17 ▼5.15 |
Dashboard /wp-admin | 3.40 ▲0.05 | 44.96 ▼14.27 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 46.56 ▼0.54 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 90.01 ▼3.98 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 31.04 ▼3.35 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Real-time Bitcoin Converter: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲87 | 14.27 ▲0.05 | 1.85 ▲0.18 | 38.13 ▼5.46 |
Dashboard /wp-admin | 2,201 ▲20 | 5.59 ▼0.11 | 92.63 ▼4.76 | 43.21 ▲4.75 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.02 ▼0.12 | 40.15 ▲1.07 | 35.58 ▼2.31 |
Add New Post /wp-admin/post-new.php | 1,543 ▲15 | 18.19 ▼4.93 | 595.41 ▼82.76 | 50.21 ▼3.61 |
Media Library /wp-admin/upload.php | 1,406 ▲12 | 4.18 ▼0.03 | 95.15 ▼5.08 | 42.13 ▼4.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/real-time-bitcoin-currency-converter/bitcoin-convert.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Attributes that require attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== real-time-bitcoin-currency-converter ===
)
real-time-bitcoin-currency-converter/bitcoin-convert.php 92% from 13 tests
Analyzing the main PHP file in "Real-time Bitcoin Converter" version 1.0.7
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("real-time-bitcoin-currency-converter.php" instead of "bitcoin-convert.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected841 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 228 | 445 | 714 |
JavaScript | 2 | 17 | 42 | 124 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 14.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 62 | |
▷ Static methods | 3 | 4.84% |
▷ Public methods | 49 | 79.03% |
▷ Protected methods | 12 | 19.35% |
▷ Private methods | 1 | 1.61% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 39 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 39 | 100.00% |
▷ Public constants | 39 | 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
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/js/align-left.png | 0.54KB | 0.64KB | 0.00% |
assets/js/align-left.png | 0.54KB | 0.64KB | 0.00% |