84% potter-kit

Code Review | Potter Kit - Elementor, Beaver Builder, Gutenberg Templates and Elementor Blocks Builder

WordPress plugin Potter Kit - Elementor, Beaver Builder, Gutenberg Templates and Elementor Blocks Builder scored84%from 54 tests.

About plugin

  • Plugin page: potter-kit
  • Plugin version: 1.0.9
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.4
  • WordPress version: 6.3.1
  • First release: Oct 26, 2019
  • Latest release: Sep 21, 2021
  • Number of updates: 46
  • Update frequency: every 15.2 days
  • Top authors: wppotter (100%)

Code review

54 tests

User reviews

1 review

Install metrics

300+ active /10,532 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.05MB] [CPU: ▼6.16ms] Passed 4 tests

This is a short check of server-side resources used by Potter Kit - Elementor, Beaver Builder, Gutenberg Templates and Elementor Blocks Builder
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0540.46 ▲1.21
Dashboard /wp-admin3.35 ▲0.0544.83 ▼10.21
Posts /wp-admin/edit.php3.46 ▲0.1146.53 ▼2.20
Add New Post /wp-admin/post-new.php5.93 ▲0.0589.40 ▼11.09
Media Library /wp-admin/upload.php3.27 ▲0.0532.24 ▼1.13
Demo Import /wp-admin/themes.php?page=potter-kit3.2834.34
Potter Kit /wp-admin/tools.php?page=potter-kit-tool3.2836.17

Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
db_upgraded
widget_recent-posts
widget_recent-comments
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

This is an overview of browser requirements for Potter Kit - Elementor, Beaver Builder, Gutenberg Templates and Elementor Blocks Builder
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,808 ▲3714.44 ▲0.051.68 ▼0.1240.32 ▼0.06
Dashboard /wp-admin2,217 ▲264.84 ▼1.0295.92 ▼8.6238.17 ▼5.84
Posts /wp-admin/edit.php2,094 ▲22.06 ▲0.0638.32 ▲1.4135.87 ▼1.23
Add New Post /wp-admin/post-new.php1,548 ▲2918.21 ▼5.08620.61 ▼76.8753.02 ▼8.52
Media Library /wp-admin/upload.php1,399 ▲144.19 ▲0.0298.45 ▼3.3839.59 ▼4.39
Demo Import /wp-admin/themes.php?page=potter-kit1,1543.5148.0027.28
Potter Kit /wp-admin/tools.php?page=potter-kit-tool1,1483.3845.2426.41

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
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% 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 output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/potter-kit/potter-kit.php

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
  • Screenshots: Please add an image for screenshot #3 (Finally, Import the Demo with just one click.)
You can look at the official readme.txt

potter-kit/potter-kit.php Passed 13 tests

Analyzing the main PHP file in "Potter Kit - Elementor, Beaver Builder, Gutenberg Templates and Elementor Blocks Builder" version 1.0.9
82 characters long description:
Import Potter themes demo content, widgets and theme settings with just one click.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin4,260 lines of code in 19 files:
LanguageFilesBlank linesComment linesLines of code
PHP144431,0802,185
JavaScript45072262,074
CSS1001

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.53
Average class complexity43.30
▷ Minimum class complexity1.00
▷ Maximum class complexity370.00
Average method complexity6.79
▷ Minimum method complexity1.00
▷ Maximum method complexity93.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes10
▷ Abstract classes00.00%
▷ Concrete classes10100.00%
▷ Final classes00.00%
Methods73
▷ Static methods79.59%
▷ Public methods5879.45%
▷ Protected methods00.00%
▷ Private methods1520.55%
Functions13
▷ Named functions13100.00%
▷ Anonymous functions00.00%
Constants8
▷ Global constants8100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin