Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▲38.41ms] Passed 4 tests
Server-side resources used by PM Currency For WP
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 191.72 ▲147.37 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.45 ▼3.43 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 48.71 ▲2.08 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 307.53 ▲214.12 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 42.38 ▲7.61 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 7 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_wpcurrencybypluginsmonster |
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for PM Currency For WP
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲95 | 13.57 ▼0.83 | 1.85 ▼0.14 | 37.34 ▼7.47 |
Dashboard /wp-admin | 2,221 ▲29 | 5.86 ▲0.94 | 94.36 ▼17.16 | 81.49 ▲36.64 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 1.99 ▼0.03 | 37.49 ▲0.53 | 37.96 ▲5.42 |
Add New Post /wp-admin/post-new.php | 1,681 ▲148 | 22.51 ▼0.72 | 727.77 ▲49.39 | 58.18 ▼0.61 |
Media Library /wp-admin/upload.php | 1,406 ▲18 | 4.25 ▲0.03 | 100.60 ▲2.91 | 66.30 ▲22.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
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
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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pm-currency-for-wp/pmcurrencyforwp.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: visitor currency, currency conversion, currency converter, currency
pm-currency-for-wp/pmcurrencyforwp.php 92% from 13 tests
The main PHP file in "PM Currency For WP" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("pm-currency-for-wp.php" instead of "pmcurrencyforwp.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin116 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 36 | 22 | 116 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
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 | 6 | |
▷ Named functions | 6 | 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
5 PNG files occupy 0.18MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
wpcurrencyprobanner.png | 73.43KB | 23.82KB | ▼ 67.56% |
wpcurrencytopbanner.png | 69.57KB | 21.85KB | ▼ 68.60% |
slogo.PNG | 17.98KB | 7.36KB | ▼ 59.06% |
logo.png | 26.75KB | 9.00KB | ▼ 66.33% |
pmcurrencyforwpicon.png | 1.64KB | 0.53KB | ▼ 67.70% |