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
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.43ms] Passed 4 tests
Server-side resources used by Polyglots
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.87 ▼5.18 |
Dashboard /wp-admin | 3.73 ▲0.39 | 1,247.19 ▲1,177.75 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 51.24 ▲2.05 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 99.40 ▼6.60 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.17 ▼0.01 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Polyglots
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲87 | 14.73 ▲0.36 | 2.04 ▲0.28 | 43.52 ▲1.70 |
Dashboard /wp-admin | 2,236 ▲56 | 5.57 ▼0.13 | 96.20 ▼2.35 | 38.39 ▼3.26 |
Posts /wp-admin/edit.php | 2,099 ▼4 | 2.05 ▲0.08 | 33.87 ▼3.42 | 35.18 ▲0.71 |
Add New Post /wp-admin/post-new.php | 1,542 ▲16 | 23.32 ▲5.80 | 586.35 ▼107.03 | 53.91 ▼1.09 |
Media Library /wp-admin/upload.php | 1,402 ▲2 | 4.23 ▲0.02 | 96.04 ▼16.96 | 46.14 ▲0.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test
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)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: i18n, admin, polyglots
polyglots/polyglots.php 92% from 13 tests
Analyzing the main PHP file in "Polyglots" version 0.1
It is important to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected2,216 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 350 | 85 | 2,183 |
CSS | 1 | 8 | 0 | 25 |
Markdown | 1 | 3 | 0 | 8 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.03 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 1 | 10.00% |
▷ Concrete classes | 9 | 90.00% |
▷ Final classes | 0 | 0.00% |
Methods | 41 | |
▷ Static methods | 14 | 34.15% |
▷ Public methods | 38 | 92.68% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 7.32% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 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 images were found in this plugin