Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▲59.79ms] 75% from 4 tests
Analyzing server-side resources used by Ethereum price tooltip
It is recommended to improve the following
- CPU: Total CPU usage should be kept under 500.00ms (currently 759.50ms on /wp-admin/tools.php?page=ethereum-price)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 289.70 ▲246.95 |
Dashboard /wp-admin | 3.35 ▲0.05 | 48.44 ▼4.18 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 46.90 ▼2.13 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 568.82 ▲463.67 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.14 ▼1.50 |
Ethereum Price /wp-admin/tools.php?page=ethereum-price | 3.24 | 759.50 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Ethereum price tooltip
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲39 | 13.30 ▼0.99 | 1.66 ▼0.53 | 37.78 ▼6.32 |
Dashboard /wp-admin | 2,210 ▲22 | 5.86 ▲0.96 | 108.42 ▼5.40 | 42.46 ▼5.69 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.01 ▲0.01 | 34.06 ▼4.03 | 30.40 ▼1.34 |
Add New Post /wp-admin/post-new.php | 1,517 ▼25 | 17.94 ▼0.25 | 633.35 ▲20.06 | 53.94 ▲0.56 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.20 ▼0.00 | 99.76 ▲1.52 | 41.31 ▼1.74 |
Ethereum Price /wp-admin/tools.php?page=ethereum-price | 994 | 2.04 | 24.99 | 29.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not 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
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ethereum-price-tooltip/includes/settings_page.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/ethereum-price-tooltip/eth-price-tooltip.php:11
- > 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 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
Please fix the following attributes:
- Screenshots: These screenshots lack descriptions #2, #3 in ethereum-price-tooltip/assets to your readme.txt
ethereum-price-tooltip/eth-price-tooltip.php 92% from 13 tests
This is the main PHP file of "Ethereum price tooltip" version 1.4.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("ethereum-price-tooltip.php" instead of "eth-price-tooltip.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected355 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 55 | 35 | 300 |
CSS | 2 | 6 | 0 | 55 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 8 | |
▷ Named functions | 6 | 75.00% |
▷ Anonymous functions | 2 | 25.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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin