Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.16MB] [CPU: ▼4.88ms] Passed 4 tests
This is a short check of server-side resources used by Euleo Übersetzungsbüro
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 39.96 ▼0.58 |
Dashboard /wp-admin | 3.47 ▲0.16 | 45.52 ▼2.35 |
Posts /wp-admin/edit.php | 3.58 ▲0.23 | 47.07 ▼0.79 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 82.91 ▼15.80 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 35.83 ▼0.48 |
Euleo /wp-admin/admin.php?page=euleo | 3.35 | 32.34 |
Configuration /wp-admin/admin.php?page=euleo_conf | 3.33 | 30.91 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
recovery_mode_email_last_sent |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Euleo Übersetzungsbüro
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,851 ▲116 | 13.58 ▼1.01 | 2.00 ▲0.23 | 39.09 ▼1.38 |
Dashboard /wp-admin | 2,235 ▲44 | 5.95 ▲1.07 | 96.39 ▼7.40 | 71.47 ▲24.74 |
Posts /wp-admin/edit.php | 2,112 ▲23 | 2.00 ▼0.05 | 34.77 ▼7.52 | 33.05 ▼5.49 |
Add New Post /wp-admin/post-new.php | 1,554 ▲10 | 18.23 ▼0.35 | 685.57 ▲61.57 | 69.49 ▲5.02 |
Media Library /wp-admin/upload.php | 1,417 ▲32 | 4.13 ▼0.05 | 98.60 ▼2.33 | 72.99 ▲30.46 |
Euleo /wp-admin/admin.php?page=euleo | 704 | 1.14 | 7.41 | 17.23 |
Configuration /wp-admin/admin.php?page=euleo_conf | 700 | 1.35 | 6.82 | 16.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- recovery_mode_email_last_sent
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=euleo
- > Warning in wp-content/plugins/euleo-ubersetzungsburo/euleo_core.php+24
require_once(wp-content/plugins/euleo-ubersetzungsburo/Classes/Euleo/Backend/.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/admin.php?page=euleo
- > Compile error in wp-content/plugins/euleo-ubersetzungsburo/euleo_core.php+24
require_once(): Failed opening required 'wp-content/plugins/euleo-ubersetzungsburo/Classes/Euleo/Backend/.php' (include_path='.:/usr/share/php')
- > GET request to /wp-admin/admin.php?page=euleo_conf
- > Error in wp-content/plugins/euleo-ubersetzungsburo/Classes/Euleo/Cms.php+37
Uncaught Error: Class 'SoapClient' not found in wp-content/plugins/euleo-ubersetzungsburo/Classes/Euleo/Cms.php:37
Stack trace:
#0 wp-content/plugins/euleo-ubersetzungsburo/Classes/Euleo/Client.php(60): Euleo_Cms->__construct()
#1 wp-content/plugins/euleo-ubersetzungsburo/euleo_configuration.php(27): Euleo_Client->connect()
#2 wp-includes/class-wp-hook.php(310): euleo_conf()
#3 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#4 wp-includes/plugin.php(517): WP_Hook->do_action()
#5 wp-admin/admin.php(259): do_action()
#6 {main}
thrown
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/euleo-ubersetzungsburo/euleo_hooks.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/euleo-ubersetzungsburo/euleo_core.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/euleo-ubersetzungsburo/euleo_core.php:18
- > PHP Fatal error
Uncaught Error: Interface 'Euleo_Backend' not found in wp-content/plugins/euleo-ubersetzungsburo/Classes/Euleo/Backend/Qtranslate.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Tags: You are using too many tags: 11 tag instead of maximum 10
euleo-ubersetzungsburo/euleo.php 92% from 13 tests
The principal PHP file in "Euleo Übersetzungsbüro" v. 1.0 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("euleo-ubersetzungsburo.php" instead of "euleo.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,370 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 240 | 216 | 1,180 |
PO File | 1 | 36 | 39 | 95 |
CSS | 1 | 14 | 0 | 88 |
JavaScript | 1 | 3 | 13 | 7 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 3.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 54 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 49 | 90.74% |
▷ Protected methods | 5 | 9.26% |
▷ 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
12 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/remove.png | 1.06KB | 1.22KB | 0.00% |
images/showCart.png | 2.49KB | 1.65KB | ▼ 33.52% |
logo.png | 3.97KB | 1.60KB | ▼ 59.62% |
images/logo.png | 4.76KB | 1.99KB | ▼ 58.20% |
images/status_open.png | 1.05KB | 0.30KB | ▼ 71.51% |