Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼8.43ms] Passed 4 tests
Analyzing server-side resources used by Tamil Quotes
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.82 ▼1.47 |
Dashboard /wp-admin | 3.33 ▲0.02 | 44.43 ▼2.97 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.75 ▲2.88 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 84.23 ▼23.19 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.50 ▼6.08 |
Tamil Quotes /wp-admin/options-general.php?page=tmlquotes_mskc_topt | 3.22 | 30.40 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
tmlquotes_text_color |
tmlquotes_bg_color |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Tamil Quotes: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.70 ▼0.45 | 1.64 ▼0.07 | 40.98 ▼5.91 |
Dashboard /wp-admin | 2,226 ▲35 | 5.19 ▲0.28 | 111.34 ▼2.23 | 39.90 ▲0.98 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.35 ▲0.36 | 41.40 ▲1.39 | 35.59 ▲0.32 |
Add New Post /wp-admin/post-new.php | 1,544 ▼0 | 18.70 ▲0.38 | 590.25 ▼40.39 | 34.07 ▼23.51 |
Media Library /wp-admin/upload.php | 1,415 ▲30 | 4.30 ▲0.13 | 93.27 ▼11.51 | 41.99 ▼2.97 |
Tamil Quotes /wp-admin/options-general.php?page=tmlquotes_mskc_topt | 1,061 | 2.21 | 48.17 | 56.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 8 options in the database
- tmlquotes_text_color
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- tmlquotes_bg_color
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 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
Please take a closer look at the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/tamil-quotes/options.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tamil-quotes/tamil-quotes.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
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
3 plugin tags: tamil, quotes, kavithai
tamil-quotes/tamil-quotes.php Passed 13 tests
This is the main PHP file of "Tamil Quotes" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
68 characters long description:
Display Random Tamil SMS kavithai and Quotes on your Wordpress Site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected150 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 18 | 26 | 113 |
JavaScript | 2 | 1 | 0 | 37 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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 | 10 | |
▷ Named functions | 10 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected