90% bitpoke-kubernetes

Code Review | Bitpoke Kubernetes

WordPress plugin Bitpoke Kubernetes scored90%from 54 tests.

About plugin

  • Plugin page: bitpoke-kubernetes
  • Plugin version: 1.0.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.9-6.1
  • WordPress version: 6.3.1
  • First release: Nov 21, 2022
  • Latest release: Nov 21, 2022
  • Number of updates: 6
  • Update frequency: every 0.7 days
  • Top authors: bitpokeio (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /525 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

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

Server-side resources used by Bitpoke Kubernetes
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0535.68 ▼5.97
Dashboard /wp-admin3.36 ▲0.0543.34 ▼5.69
Posts /wp-admin/edit.php3.47 ▲0.1148.25 ▼4.10
Add New Post /wp-admin/post-new.php5.94 ▲0.0582.93 ▼16.01
Media Library /wp-admin/upload.php3.28 ▲0.0534.16 ▼0.74

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-posts
widget_theysaidso_widget
theysaidso_admin_options
db_upgraded
widget_recent-comments
can_compress_scripts
bitpoke_kubernetes_version

Browser metrics Passed 4 tests

An overview of browser requirements for Bitpoke Kubernetes
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲2913.23 ▼1.071.51 ▼0.2037.10 ▼7.44
Dashboard /wp-admin2,209 ▲214.85 ▼0.26110.00 ▲4.2445.98 ▲5.55
Posts /wp-admin/edit.php2,089 ▼01.99 ▼0.0534.59 ▼5.1530.76 ▼7.42
Add New Post /wp-admin/post-new.php1,533 ▼423.22 ▲0.00641.21 ▲28.4255.12 ▲4.33
Media Library /wp-admin/upload.php1,388 ▼04.22 ▲0.0195.87 ▼1.0340.17 ▼4.93

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • This plugin did not uninstall successfully, leaving 7 options in the database
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • bitpoke_kubernetes_version

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
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 shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: kubernetes, serverless, cloud

bitpoke-kubernetes/bitpoke-kubernetes.php 92% from 13 tests

The primary PHP file in "Bitpoke Kubernetes" version 1.0.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
  • Domain Path: The domain path folder was not found ("/lang/")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected202 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP466216176
JSON10026

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.26
Average class complexity9.50
▷ Minimum class complexity7.00
▷ Maximum class complexity12.00
Average method complexity1.85
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods20
▷ Static methods420.00%
▷ Public methods1995.00%
▷ Protected methods00.00%
▷ Private methods15.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants00.00%
▷ Class constants2100.00%
▷ Public constants2100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin