Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.93MB] [CPU: ▼52.53ms] Passed 4 tests
An overview of server-side resources used by Convertor valutar curs 3 Banci: BNR, BCR si BT
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.05 ▼1.41 | 4.12 ▼39.41 |
Dashboard /wp-admin | 2.07 ▼1.23 | 5.89 ▼44.94 |
Posts /wp-admin/edit.php | 2.07 ▼1.28 | 6.32 ▼40.25 |
Add New Post /wp-admin/post-new.php | 2.07 ▼3.81 | 6.87 ▼85.53 |
Media Library /wp-admin/upload.php | 2.07 ▼1.16 | 4.81 ▼30.60 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Convertor valutar curs 3 Banci: BNR, BCR si BT
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲67 | 13.75 ▼0.63 | 1.94 ▲0.17 | 38.27 ▼7.15 |
Dashboard /wp-admin | 2,211 ▲26 | 4.91 ▼0.00 | 111.80 ▼4.10 | 47.16 ▼0.34 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 2.03 ▲0.06 | 41.75 ▲3.52 | 37.95 ▲0.20 |
Add New Post /wp-admin/post-new.php | 1,527 ▼6 | 18.13 ▼4.93 | 606.61 ▼49.40 | 58.09 ▼1.28 |
Media Library /wp-admin/upload.php | 1,396 ▲5 | 4.22 ▲0.03 | 102.65 ▲5.92 | 41.43 ▼1.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5905
Function wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the eronCSS handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% 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)
Good news, no errors were detected
SRP 0% from 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
Please take a closer look at the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/convertor-valutar-curs-bnr/includes/curs.php
- > /wp-content/plugins/convertor-valutar-curs-bnr/convertor.php
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_register_style() in wp-content/plugins/convertor-valutar-curs-bnr/includes/functions.php:76
- > PHP Notice
Undefined index: act in wp-content/plugins/convertor-valutar-curs-bnr/convertor.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/convertor-valutar-curs-bnr/eron.php:19
- > 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 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 19 tag instead of maximum 10
convertor-valutar-curs-bnr/eron.php 77% from 13 tests
The entry point to "Convertor valutar curs 3 Banci: BNR, BCR si BT" version 3... is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("convertor-valutar-curs-bnr.php" instead of "eron.php")
- Version: Plugin version number should only contain digits separated by dots (ex. "1.0.3" instead of "3...")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 146 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin250 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 53 | 11 | 165 |
JavaScript | 2 | 18 | 1 | 83 |
CSS | 1 | 0 | 0 | 2 |
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.16 |
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 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin