Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- The plugin did not install without errors
- > Warning in wp-content/plugins/share-tamil/share-tamil.php+19
Use of undefined constant WPShareTamil - assumed 'WPShareTamil' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▼1.96MB] [CPU: ▼53.77ms] Passed 4 tests
This is a short check of server-side resources used by Share Tamil
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.61 ▼40.55 |
Dashboard /wp-admin | 2.05 ▼1.26 | 7.25 ▼43.40 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.51 ▼44.44 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.38 ▼86.68 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 4.84 ▼32.41 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
share_tamil_options |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Share Tamil
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲9 | 14.72 ▲0.17 | 1.77 ▼0.29 | 46.49 ▲2.34 |
Dashboard /wp-admin | 2,202 ▲25 | 5.54 ▼0.00 | 88.68 ▲0.82 | 44.70 ▲3.38 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 1.99 ▼0.04 | 36.70 ▲0.76 | 34.72 ▼2.05 |
Add New Post /wp-admin/post-new.php | 1,529 ▼2 | 22.82 ▼0.18 | 628.68 ▲38.47 | 59.04 ▲8.44 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.26 ▲0.03 | 96.98 ▼1.09 | 40.77 ▼3.32 |
Share Tamil /wp-admin/share-tamil.php | 26 | 0.42 | 0.10 | 16.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The plugin did not uninstall gracefully
- > Warning in wp-content/plugins/share-tamil/share-tamil.php+19
Use of undefined constant WPShareTamil - assumed 'WPShareTamil' (this will throw an Error in a future version of PHP)
- This plugin did not uninstall successfully, leaving 7 options in the database
- share_tamil_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 25% 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)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/share-tamil/share-tamil.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Undefined variable: action_url in wp-content/plugins/share-tamil/share-tamil-admin-options.php on line 70
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/share-tamil/share-tamil-admin-options.php:72
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/share-tamil.php
- > Network (severe)
wp-admin/share-tamil.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: tamilmanam, tamil10, indli, techtamil, share tamil...
share-tamil/share-tamil.php Passed 13 tests
"Share Tamil" version 1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
110 characters long description:
Add your posts to Tamilmanam, Tamil 10, Indli, Facebook, Twitter & Google Plus. Go to: Settings > Share Tamil.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin436 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 54 | 14 | 436 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 33.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 5.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin