Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼7.09ms] Passed 4 tests
This is a short check of server-side resources used by WPT Custom Mo File
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.17 ▼0.96 |
Dashboard /wp-admin | 3.43 ▲0.08 | 48.70 ▼9.35 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 48.17 ▲1.75 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 84.42 ▼15.91 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 35.21 ▼2.13 |
WPT Custom Mo File /wp-admin/tools.php?page=wpt-custom-mo-file | 3.78 | 497.25 |
Server storage [IO: ▲0.72MB] [DB: ▲0.05MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 34 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
wpt_customofile_options |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
WPT Custom Mo File: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.24 ▼1.12 | 1.68 ▼0.23 | 39.65 ▼1.73 |
Dashboard /wp-admin | 2,204 ▲12 | 4.89 ▼0.07 | 110.20 ▼2.49 | 40.33 ▼1.84 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.00 ▼0.00 | 40.95 ▼0.56 | 36.63 ▲1.59 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.05 ▲5.63 | 650.90 ▼32.83 | 55.23 ▼2.67 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.12 ▼0.12 | 97.07 ▼7.54 | 40.81 ▼2.83 |
WPT Custom Mo File /wp-admin/tools.php?page=wpt-custom-mo-file | 1,593 | 1.94 | 32.71 | 129.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.05MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Warning in wp-content/plugins/wpt-custom-mo-file/uninstall.php+43
unlink(wp-content/uploads/wpt-custom-mo-file): No such file or directory
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: Screenshot #1 (The slick but efficient WPT Custom Mo File settings panel.) image not found
wpt-custom-mo-file/wpt-custom-mo-file.php Passed 13 tests
The primary PHP file in "WPT Custom Mo File" version 1.2.2 is used by WordPress to initiate all plugin functionality
92 characters long description:
A powerful WordPress plugin that let you use your own translation .mo files. Simple as that.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin7,842 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 1,980 | 7,021 | 6,500 |
PHP | 7 | 171 | 316 | 648 |
PO File | 2 | 110 | 118 | 304 |
CSS | 4 | 58 | 33 | 257 |
Sass | 1 | 39 | 0 | 132 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 15 | |
▷ Global constants | 15 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin