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
Install script ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼10.89ms] Passed 4 tests
This is a short check of server-side resources used by Performant Translations
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 36.17 ▼7.02 |
Dashboard /wp-admin | 3.44 ▲0.09 | 41.67 ▼16.01 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 46.41 ▲1.40 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 83.14 ▼21.92 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 38.16 ▲4.68 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Performant Translations
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,792 ▲45 | 14.35 ▲0.07 | 1.62 ▼0.05 | 39.03 ▼3.92 |
Dashboard /wp-admin | 2,195 ▲20 | 5.58 ▼0.36 | 96.47 ▼15.24 | 42.65 ▼1.24 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.94 ▼0.00 | 39.96 ▲0.43 | 33.93 ▼0.08 |
Add New Post /wp-admin/post-new.php | 1,526 ▼3 | 22.94 ▼0.19 | 611.23 ▲14.45 | 50.86 ▼3.41 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.16 ▼0.01 | 100.50 ▲1.43 | 43.78 ▼0.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Ginger_MO_Translation_File' not found in wp-content/plugins/performant-translations/lib/class-ginger-mo-translation-file-php.php:11
- > PHP Fatal error
Uncaught Error: Class 'Ginger_MO_Translation_File' not found in wp-content/plugins/performant-translations/lib/class-ginger-mo-translation-file-mo.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: i18n, translations, localization, internationalization, performance
performant-translations/performant-translations.php Passed 13 tests
The primary PHP file in "Performant Translations" version 1.0.7 is used by WordPress to initiate all plugin functionality
78 characters long description:
Making internationalization/localization in WordPress faster than ever before.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected729 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 241 | 599 | 729 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 26.33 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 4.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 1 | 16.67% |
▷ Concrete classes | 5 | 83.33% |
▷ Final classes | 0 | 0.00% |
Methods | 47 | |
▷ Static methods | 11 | 23.40% |
▷ Public methods | 35 | 74.47% |
▷ Protected methods | 9 | 19.15% |
▷ Private methods | 3 | 6.38% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected