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.78MB] [CPU: ▼1.18ms] Passed 4 tests
Analyzing server-side resources used by Templately – Gutenberg & Elementor Template Library: 5000+ Free & Pro Ready Templates & Cloud!
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.14 ▲0.68 | 39.22 ▼5.89 |
Dashboard /wp-admin | 4.15 ▲0.81 | 51.84 ▼9.59 |
Posts /wp-admin/edit.php | 4.20 ▲0.85 | 54.63 ▲4.77 |
Add New Post /wp-admin/post-new.php | 6.77 ▲0.88 | 104.48 ▲5.99 |
Media Library /wp-admin/upload.php | 4.01 ▲0.78 | 43.90 ▲11.73 |
Server storage [IO: ▲1.67MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 100 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Templately – Gutenberg & Elementor Template Library: 5000+ Free & Pro Ready Templates & Cloud!
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲65 | 14.37 ▲0.02 | 1.65 ▼0.06 | 37.71 ▼6.32 |
Dashboard /wp-admin | 2,202 ▲25 | 5.57 ▼0.03 | 87.10 ▼14.19 | 84.02 ▲39.28 |
Posts /wp-admin/edit.php | 2,122 ▲22 | 1.95 ▼0.01 | 37.86 ▼3.66 | 33.96 ▼2.25 |
Add New Post /wp-admin/post-new.php | 1,780 ▲254 | 24.92 ▲1.78 | 732.67 ▲60.98 | 109.63 ▲62.63 |
Media Library /wp-admin/upload.php | 1,419 ▲19 | 4.14 ▲0.02 | 94.25 ▼0.39 | 77.61 ▲35.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 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 0% 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
The following issues need your attention
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/templately/views/header.php
- > /wp-content/plugins/templately/templately.php
- > /wp-content/plugins/templately/views/settings.php
- 32× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Templately\\API\\API' not found in wp-content/plugins/templately/includes/API/Import.php:11
- > PHP Fatal error
Uncaught Error: Class 'Templately\\API\\API' not found in wp-content/plugins/templately/includes/API/Dependencies.php:14
- > PHP Fatal error
Uncaught Error: Class 'PriyoMukul\\WPNotice\\Utils\\Base' not found in wp-content/plugins/templately/vendor/priyomukul/wp-notice/src/Dismiss.php:9
- > PHP Fatal error
Uncaught Error: Class 'Templately\\API\\API' not found in wp-content/plugins/templately/includes/API/WorkSpaces.php:8
- > PHP Fatal error
Uncaught Error: Class 'Templately\\Core\\Platform' not found in wp-content/plugins/templately/includes/Core/Platform/Elementor.php:21
- > PHP Fatal error
Uncaught Error: Class 'Templately\\Utils\\Base' not found in wp-content/plugins/templately/includes/Core/Migrator.php:9
- > PHP Fatal error
Uncaught Error: Class 'Templately\\API\\API' not found in wp-content/plugins/templately/includes/API/Profile.php:7
- > PHP Fatal error
Uncaught Error: Class 'Templately\\Utils\\Base' not found in wp-content/plugins/templately/includes/Utils/Options.php:11
- > PHP Fatal error
Uncaught Error: Class 'PriyoMukul\\WPNotice\\Utils\\Base' not found in wp-content/plugins/templately/vendor/priyomukul/wp-notice/src/Utils/Storage.php:8
- > PHP Fatal error
Uncaught Error: Class 'Templately\\Utils\\Base' not found in wp-content/plugins/templately/includes/Plugin.php:35
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tags: Too many tags (19 tag instead of maximum 10); only the first 5 tags are used in your directory listing
templately/templately.php Passed 13 tests
Analyzing the main PHP file in "Templately – Gutenberg & Elementor Template Library: 5000+ Free & Pro Ready Templates & Cloud!" version 2.2.11
123 characters long description:
The Best Templates Cloud for Elementor & Gutenberg. Get access to stunning templates, WorkSpace, Cloud Library & many more.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin4,707 lines of code in 74 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 55 | 1,078 | 1,368 | 4,423 |
CSS | 5 | 48 | 4 | 215 |
JSON | 1 | 0 | 0 | 41 |
SVG | 10 | 0 | 0 | 25 |
JavaScript | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 15.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 41 | |
▷ Abstract classes | 4 | 9.76% |
▷ Concrete classes | 37 | 90.24% |
▷ Final classes | 2 | 5.41% |
Methods | 295 | |
▷ Static methods | 48 | 16.27% |
▷ Public methods | 265 | 89.83% |
▷ Protected methods | 8 | 2.71% |
▷ Private methods | 22 | 7.46% |
Functions | 19 | |
▷ Named functions | 1 | 5.26% |
▷ Anonymous functions | 18 | 94.74% |
Constants | 14 | |
▷ Global constants | 10 | 71.43% |
▷ Class constants | 4 | 28.57% |
▷ Public constants | 4 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
16 PNG files occupy 0.39MB with 0.24MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/gutenberg.png | 5.70KB | 1.63KB | ▼ 71.42% |
(invalid) assets/images/shape1.png | 17.34KB | 0.00KB | ▼ 100.00% |
assets/images/hover-workspace.png | 0.82KB | 1.39KB | 0.00% |
assets/images/platforms/gutenberg.png | 5.70KB | 1.63KB | ▼ 71.42% |
assets/images/platform/gutenberg.png | 5.70KB | 1.63KB | ▼ 71.42% |