78% templately

Code Review | Templately – Gutenberg & Elementor Template Library: 5000+ Free & Pro Ready Templates & Cloud!

WordPress plugin Templately – Gutenberg & Elementor Template Library: 5000+ Free & Pro Ready Templates & Cloud! scored78%from 54 tests.

About plugin

  • Plugin page: templately
  • Plugin version: 2.2.11
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.4
  • WordPress version: 6.3.1
  • First release: Mar 2, 2020
  • Latest release: Nov 30, 2023
  • Number of updates: 81
  • Update frequency: every 17.2 days
  • Top authors: wpdevteam (40.74%)re_enter_rupok (25.93%)Asif2BD (22.22%)priyomukul (14.81%)

Code review

54 tests

User reviews

74 reviews

Install metrics

200,000+ active /3,756,537 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /4.14 ▲0.6839.22 ▼5.89
Dashboard /wp-admin4.15 ▲0.8151.84 ▼9.59
Posts /wp-admin/edit.php4.20 ▲0.8554.63 ▲4.77
Add New Post /wp-admin/post-new.php6.77 ▲0.88104.48 ▲5.99
Media Library /wp-admin/upload.php4.01 ▲0.7843.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,812 ▲6514.37 ▲0.021.65 ▼0.0637.71 ▼6.32
Dashboard /wp-admin2,202 ▲255.57 ▼0.0387.10 ▼14.1984.02 ▲39.28
Posts /wp-admin/edit.php2,122 ▲221.95 ▼0.0137.86 ▼3.6633.96 ▼2.25
Add New Post /wp-admin/post-new.php1,780 ▲25424.92 ▲1.78732.67 ▲60.98109.63 ▲62.63
Media Library /wp-admin/upload.php1,419 ▲194.14 ▲0.0294.25 ▼0.3977.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

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
The official readme.txt might help

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:
LanguageFilesBlank linesComment linesLines of code
PHP551,0781,3684,423
CSS5484215
JSON10041
SVG100025
JavaScript3003

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 code0.41
Average class complexity15.71
▷ Minimum class complexity1.00
▷ Maximum class complexity48.00
Average method complexity2.98
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
Namespaces10
Interfaces0
Traits1
Classes41
▷ Abstract classes49.76%
▷ Concrete classes3790.24%
▷ Final classes25.41%
Methods295
▷ Static methods4816.27%
▷ Public methods26589.83%
▷ Protected methods82.71%
▷ Private methods227.46%
Functions19
▷ Named functions15.26%
▷ Anonymous functions1894.74%
Constants14
▷ Global constants1071.43%
▷ Class constants428.57%
▷ Public constants4100.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
FileSize - originalSize - compressedSavings
assets/images/gutenberg.png5.70KB1.63KB▼ 71.42%
(invalid) assets/images/shape1.png17.34KB0.00KB▼ 100.00%
assets/images/hover-workspace.png0.82KB1.39KB0.00%
assets/images/platforms/gutenberg.png5.70KB1.63KB▼ 71.42%
assets/images/platform/gutenberg.png5.70KB1.63KB▼ 71.42%