Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼0.90ms] Passed 4 tests
Analyzing server-side resources used by Serbian Dinar Exchange Rates
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.97 ▼1.89 |
Dashboard /wp-admin | 3.32 ▲0.01 | 49.56 ▼1.72 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 51.58 ▲0.23 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 94.84 ▼0.22 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.89 ▲1.74 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_kursna_lista_box |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Serbian Dinar Exchange Rates
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲28 | 14.35 ▲0.07 | 2.06 ▼0.62 | 44.49 ▲1.36 |
Dashboard /wp-admin | 2,195 ▲15 | 5.62 ▼0.05 | 91.10 ▲1.93 | 43.87 ▲1.15 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.01 ▼0.01 | 39.58 ▲1.45 | 36.72 ▲1.68 |
Add New Post /wp-admin/post-new.php | 1,534 ▲8 | 18.02 ▼5.09 | 639.37 ▼43.14 | 66.44 ▲12.47 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.26 ▲0.09 | 95.00 ▼18.33 | 40.60 ▼5.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_kursna_lista_box
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
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 no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/serbian-dinar-exchange-rates/serbian-dinar-exchange-rates.php
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Tags: You are using too many tags: 12 tag instead of maximum 10
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Serbian Dinar Exchange Rates Back-end), #2 (Serbian Dinar Exchange Rates Front-end)
serbian-dinar-exchange-rates/serbian-dinar-exchange-rates.php Passed 13 tests
The main PHP file in "Serbian Dinar Exchange Rates" ver. 1.3 adds more information about the plugin and also serves as the entry point for this plugin
136 characters long description:
"Serbian Dinar Exchange Rates" is a widget that gives the users from Serbia a possibility to see changes in rates of foreign currencies.
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
Success! There were no dangerous files found in this plugin170 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 15 | 18 | 126 |
PO File | 1 | 14 | 21 | 44 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 28.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 7.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.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 | 2 | |
▷ Named functions | 2 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 15.04KB | 6.19KB | ▼ 58.87% |
screenshot-2.png | 12.75KB | 5.46KB | ▼ 57.16% |