Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼5.74ms] Passed 4 tests
A check of server-side resources used by Coinpaprika
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 43.25 ▼2.05 |
Dashboard /wp-admin | 3.42 ▲0.12 | 50.72 ▲1.88 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 49.88 ▼1.29 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 87.47 ▼21.50 |
Media Library /wp-admin/upload.php | 3.34 ▲0.12 | 43.87 ▲7.38 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_coinpaprika-ticker |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_coinpaprika-ranking |
Browser metrics Passed 4 tests
Coinpaprika: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.35 ▲0.00 | 2.06 ▲0.12 | 44.36 ▼1.92 |
Dashboard /wp-admin | 2,198 ▲21 | 5.62 ▼0.03 | 89.21 ▼7.74 | 42.18 ▲4.17 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 1.99 ▲0.00 | 36.28 ▼0.23 | 36.78 ▲3.29 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.55 ▼0.06 | 703.18 ▲74.48 | 54.60 ▲8.54 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.12 ▼0.11 | 112.10 ▲7.07 | 46.88 ▲0.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- theysaidso_admin_options
- widget_coinpaprika-ticker
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_coinpaprika-ranking
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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 97% 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: 15 tag instead of maximum 10
coinpaprika/coinpaprika.php Passed 13 tests
This is the main PHP file of "Coinpaprika" version 1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
138 characters long description:
Crypto capitalization WordPress plugin featuring: easy to configure crypto price widgets & shortcodes with all available cryptocurrencies!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected516 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 77 | 68 | 424 |
PO File | 1 | 41 | 58 | 80 |
CSS | 1 | 2 | 0 | 12 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 21.25 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 5.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 3 | 16.67% |
▷ Public methods | 15 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 16.67% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
There are no PNG files in this plugin