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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.14ms] Passed 4 tests
An overview of server-side resources used by ThemeShark Templates & Widgets for Elementor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 43.48 ▼1.24 |
Dashboard /wp-admin | 3.33 ▲0.02 | 48.42 ▼6.39 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.95 ▲2.67 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 88.96 ▼11.61 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.78 ▲2.88 |
Server storage [IO: ▲3.49MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 147 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for ThemeShark Templates & Widgets for Elementor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲12 | 14.25 ▼0.34 | 1.66 ▼0.09 | 44.60 ▲2.74 |
Dashboard /wp-admin | 2,201 ▲21 | 5.54 ▼0.02 | 87.13 ▼6.52 | 41.98 ▼6.44 |
Posts /wp-admin/edit.php | 2,112 ▲9 | 1.96 ▼0.01 | 34.24 ▼5.58 | 36.06 ▼1.24 |
Add New Post /wp-admin/post-new.php | 1,535 ▲6 | 23.27 ▲0.09 | 645.72 ▼18.93 | 52.92 ▼2.75 |
Media Library /wp-admin/upload.php | 1,412 ▲12 | 4.17 ▲0.01 | 108.90 ▲9.11 | 49.93 ▲4.60 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
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 a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
8 plugin tags: widgets, themeshark, elementor widgets, templates, elementor addon...
themeshark-elementor/themeshark-elementor.php 92% from 13 tests
The main PHP file in "ThemeShark Templates & Widgets for Elementor" ver. 1.1.7 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 148 characters long)
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 plugin43,482 lines of code in 134 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 34 | 2,963 | 2,211 | 21,048 |
PHP | 60 | 3,555 | 1,483 | 17,672 |
CSS | 32 | 754 | 227 | 4,183 |
JSON | 4 | 0 | 0 | 455 |
SVG | 4 | 0 | 2 | 124 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 14.66 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 88.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 0 | |
Traits | 3 | |
Classes | 56 | |
▷ Abstract classes | 5 | 8.93% |
▷ Concrete classes | 51 | 91.07% |
▷ Final classes | 15 | 29.41% |
Methods | 672 | |
▷ Static methods | 126 | 18.75% |
▷ Public methods | 452 | 67.26% |
▷ Protected methods | 144 | 21.43% |
▷ Private methods | 76 | 11.31% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.00% |
Constants | 83 | |
▷ Global constants | 4 | 4.82% |
▷ Class constants | 79 | 95.18% |
▷ Public constants | 79 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.04MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/themeshark-logo.png | 35.30KB | 14.59KB | ▼ 58.67% |
assets/images/placeholder.png | 6.00KB | 5.03KB | ▼ 16.19% |
(invalid) assets/images/gravatar-standard.png | 3.26KB | 0.00KB | ▼ 100.00% |