Benchmarks
Plugin footprint 57% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Compile error in wp-content/plugins/clippp-thumbnail-by-e3s/clippp-thumbnail.php+488
Cannot use $this as parameter
Server metrics [RAM: ▼0.01MB] [CPU: ▼13.32ms] Passed 4 tests
An overview of server-side resources used by Clip thumbnail by E3S
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.79 ▼6.04 |
Dashboard /wp-admin | 3.31 ▼0.04 | 53.25 ▼18.87 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.45 ▼3.63 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.13 ▼24.75 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.31 ▲4.62 |
Server storage [IO: ▲65.40MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Just a few items left to fix
- The filesystem usage should be lower than 25MB (currently using 65.40MB)
Filesystem: 106 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Clip thumbnail by E3S
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 13.76 ▼0.82 | 1.66 ▼0.07 | 42.00 ▼1.40 |
Dashboard /wp-admin | 2,221 ▲15 | 4.84 ▼0.06 | 135.84 ▲31.25 | 40.44 ▼4.71 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▼0.01 | 34.77 ▼6.22 | 33.28 ▼4.27 |
Add New Post /wp-admin/post-new.php | 1,545 ▲14 | 23.33 ▲0.09 | 676.78 ▲7.83 | 71.60 ▲7.01 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.09 ▼0.14 | 111.91 ▲4.15 | 47.58 ▼2.28 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 12× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_stylesheet_directory_uri() in wp-content/plugins/clippp-thumbnail-by-e3s/theme/front-movie.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/clippp-thumbnail-by-e3s/theme/functions.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function is_active_sidebar() in wp-content/plugins/clippp-thumbnail-by-e3s/theme/footer.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/clippp-thumbnail-by-e3s/page-template.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_posts() in wp-content/plugins/clippp-thumbnail-by-e3s/thumbnail-template.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/clippp-thumbnail-by-e3s/widget.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function sydney_blog_layout() in wp-content/plugins/clippp-thumbnail-by-e3s/theme/posts.php:4
- > PHP Fatal error
Cannot use $this as parameter in wp-content/plugins/clippp-thumbnail-by-e3s/clippp-thumbnail.php on line 488
- > PHP Fatal error
Uncaught Error: Call to undefined function date_i18n() in wp-content/plugins/clippp-thumbnail-by-e3s/theme/contact.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/clippp-thumbnail-by-e3s/theme/home.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 81% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Contributors: The plugin tags were not defined
- Contributors: Plugin contributors field is missing
- Donate link: Invalid URI ("")
clippp-thumbnail-by-e3s/clippp-thumbnail.php 77% from 13 tests
Analyzing the main PHP file in "Clip thumbnail by E3S" version 1.0.4
Please make the necessary changes and fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("clippp-thumbnail-by-e3s.php" instead of "clippp-thumbnail.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 169 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected1,868 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 134 | 100 | 863 |
Sass | 3 | 110 | 14 | 662 |
JavaScript | 1 | 40 | 2 | 219 |
CSS | 4 | 17 | 56 | 63 |
PO File | 1 | 17 | 19 | 53 |
Ruby | 1 | 6 | 13 | 8 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 22.50 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 22 | |
▷ Static methods | 15 | 68.18% |
▷ Public methods | 21 | 95.45% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.55% |
Functions | 18 | |
▷ Named functions | 1 | 5.56% |
▷ Anonymous functions | 17 | 94.44% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.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