Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/live-forex-table/Live-forex-table.php+10
Constant WP_DEBUG already defined
Server metrics [RAM: ▼1.96MB] [CPU: ▼50.09ms] Passed 4 tests
An overview of server-side resources used by Forex Table Google Based (Live)
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 4.61 ▼33.63 |
Dashboard /wp-admin | 2.05 ▼1.26 | 7.17 ▼39.82 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.83 ▼42.88 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.26 ▼84.03 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.42 ▼25.91 |
Live Forex Settings /wp-admin/options-general.php?page=live-forex-plugin | 2.05 | 6.28 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_lft_widget |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Forex Table Google Based (Live)
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 14.80 ▲0.08 | 1.82 ▼0.18 | 43.02 ▲0.83 |
Dashboard /wp-admin | 2,207 ▲19 | 5.83 ▲0.94 | 99.38 ▼16.54 | 38.51 ▼0.10 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.00 | 39.93 ▼2.04 | 32.39 ▼4.08 |
Add New Post /wp-admin/post-new.php | 1,541 ▲22 | 23.40 ▲0.26 | 673.83 ▲19.91 | 75.20 ▲14.02 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.20 ▼0.05 | 94.92 ▼23.81 | 44.32 ▼3.95 |
Live Forex Settings /wp-admin/options-general.php?page=live-forex-plugin | 790 | 2.06 | 26.47 | 27.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/live-forex-table/Live-forex-table.php+10
Constant WP_DEBUG already defined
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_lft_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=live-forex-plugin
- > Notice in wp-content/plugins/live-forex-table/Live-forex-table.php+10
Constant WP_DEBUG already defined
SRP 0% 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
The following issues need your attention
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/live-forex-table/Live-forex-table.php
- > /wp-content/plugins/live-forex-table/inc/widgets.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/live-forex-table/display_rate.php:186
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
live-forex-table/Live-forex-table.php 85% from 13 tests
The entry point to "Forex Table Google Based (Live)" version 1.1 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 275 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("live-forex-table.php" instead of "Live-forex-table.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected292 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 36 | 40 | 292 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshots.png | 6.15KB | 4.06KB | ▼ 34.05% |
assets/logo.png | 2.72KB | 2.50KB | ▼ 8.19% |