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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼1.97ms] Passed 4 tests
An overview of server-side resources used by Simple Admin Language Change
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.94 ▼5.93 |
Dashboard /wp-admin | 3.56 ▲0.26 | 46.50 ▼4.86 |
Posts /wp-admin/edit.php | 3.62 ▲0.27 | 49.57 ▲2.29 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 100.77 ▲2.89 |
Media Library /wp-admin/upload.php | 3.56 ▲0.34 | 36.12 ▲0.61 |
Server storage [IO: ▲0.01MB] [DB: ▲0.05MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
SALC_VERSION |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Simple Admin Language Change: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲88 | 13.44 ▼0.85 | 1.53 ▼0.22 | 37.74 ▼5.93 |
Dashboard /wp-admin | 2,232 ▲44 | 4.86 ▼0.02 | 111.61 ▼0.26 | 43.36 ▼3.78 |
Posts /wp-admin/edit.php | 2,115 ▲26 | 2.02 ▼0.03 | 39.42 ▲0.07 | 33.77 ▲0.18 |
Add New Post /wp-admin/post-new.php | 1,547 ▲25 | 23.30 ▲0.20 | 642.13 ▼29.21 | 58.41 ▼2.53 |
Media Library /wp-admin/upload.php | 1,411 ▲29 | 4.18 ▼0.05 | 99.58 ▼1.23 | 42.15 ▲0.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.05MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- SALC_VERSION
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function SALC\\add_action() in wp-content/plugins/simple-admin-language-change/inc/scripts-and-styles.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function SALC\\add_action() in wp-content/plugins/simple-admin-language-change/inc/upgrade.php:44
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: backend, admin language, backend language, localization, english
simple-admin-language-change/simple-admin-language-change.php 92% from 13 tests
Analyzing the main PHP file in "Simple Admin Language Change" version 2.0.4
It is important to fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected178 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 42 | 89 | 148 |
JavaScript | 1 | 7 | 0 | 25 |
Markdown | 1 | 3 | 0 | 5 |
PHP code Passed 2 tests
Analyzing 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.40 |
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 | 1 | |
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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin