Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.54ms] Passed 4 tests
This is a short check of server-side resources used by Convert Number in Tibetan
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.87 ▼0.00 |
Dashboard /wp-admin | 3.33 ▲0.03 | 49.39 ▼0.00 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 44.53 ▼4.89 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 93.47 ▼9.23 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 34.45 ▼4.02 |
Tibetan Date Format /wp-admin/options-general.php?page=translate-to-tb | 3.22 | 30.48 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Convert Number in Tibetan
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.81 ▲0.22 | 1.70 ▼0.28 | 46.42 ▲1.14 |
Dashboard /wp-admin | 2,213 ▲24 | 5.83 ▲0.92 | 96.74 ▼11.99 | 39.64 ▼7.09 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▼0.00 | 34.89 ▼6.71 | 31.40 ▼4.61 |
Add New Post /wp-admin/post-new.php | 1,550 ▲36 | 18.26 ▲0.67 | 591.95 ▼126.20 | 61.88 ▲7.41 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.22 ▲0.01 | 98.17 ▼7.36 | 43.61 ▼2.61 |
Tibetan Date Format /wp-admin/options-general.php?page=translate-to-tb | 825 | 2.07 | 24.05 | 39.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/convert-number-in-tibetan/inc/admin.php:59
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/convert-number-in-tibetan/inc/admin.php:59
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/convert-number-in-tibetan/inc/display.php:28
- > PHP Fatal 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 Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: comment number in tibetan, english to tibetan date and time, number in tibetan
convert-number-in-tibetan/convert-number-in-tibetan.php Passed 13 tests
"Convert Number in Tibetan" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
78 characters long description:
This plugin will help you to display date in Tibetan date format and language.
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
There were no executable files found in this plugin90 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 28 | 24 | 90 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 6 | |
▷ Named functions | 6 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin