Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- The plugin cannot be installed
- > Parse error in wp-content/plugins/title-rus-to-eng/title-rus-to-eng.php+146
syntax error, unexpected end of file
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.34ms] Passed 4 tests
Analyzing server-side resources used by Title Rus to Eng
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.89 ▲3.70 |
Dashboard /wp-admin | 3.31 ▼0.04 | 53.25 ▼10.84 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.61 ▼1.32 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 96.51 ▼13.26 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.93 ▼3.93 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Title Rus to Eng
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.22 ▼0.50 | 1.55 ▼0.58 | 38.61 ▼3.23 |
Dashboard /wp-admin | 2,195 ▲15 | 5.62 ▼0.02 | 92.26 ▲4.52 | 38.05 ▼5.00 |
Posts /wp-admin/edit.php | 2,103 ▲6 | 1.99 ▼0.04 | 38.96 ▲0.42 | 35.76 ▼4.51 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.82 ▲0.75 | 686.89 ▲68.07 | 54.73 ▼0.73 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.19 ▼0.02 | 94.68 ▼12.21 | 46.25 ▲0.44 |
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 did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/title-rus-to-eng/title-rus-to-eng.php on line 146
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: Add an image for screenshot #1 (Страница настроек)
title-rus-to-eng/title-rus-to-eng.php Passed 13 tests
The main PHP script in "Title Rus to Eng" version 1.0 is automatically included on every request by WordPress
139 characters long description:
Автоматический перевод заголовка постов и страниц с Русского на Английский
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin108 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 16 | 22 | 108 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin