84% kalamatino

Code Review | Kalamatino

WordPress plugin Kalamatino scored84%from 54 tests.

About plugin

  • Plugin page: kalamatino
  • Plugin version: 1.0.1
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.0.2
  • WordPress version: 6.3.1
  • First release: Oct 5, 2022
  • Latest release: Oct 5, 2022
  • Number of updates: 4
  • Update frequency: every 0.5 days
  • Top authors: shokrino (100%)

Code review

54 tests

User reviews

1 review

Install metrics

300+ active /1,052 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼1.35ms] Passed 4 tests

An overview of server-side resources used by Kalamatino
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0251.94 ▲7.76
Dashboard /wp-admin3.33 ▼0.0256.09 ▼13.95
Posts /wp-admin/edit.php3.38 ▲0.0259.25 ▲4.67
Add New Post /wp-admin/post-new.php5.91 ▲0.02105.87 ▼3.88
Media Library /wp-admin/upload.php3.25 ▲0.0245.57 ▲8.28

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments
can_compress_scripts
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for Kalamatino
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,813 ▲5214.25 ▼0.401.71 ▼0.7744.78 ▲0.88
Dashboard /wp-admin2,207 ▲365.56 ▼0.1094.76 ▼7.0873.91 ▲31.01
Posts /wp-admin/edit.php2,121 ▲212.01 ▲0.0334.51 ▲0.2336.41 ▼0.67
Add New Post /wp-admin/post-new.php1,562 ▲3418.60 ▼4.28655.13 ▲28.8854.99 ▼0.20
Media Library /wp-admin/upload.php1,421 ▲184.17 ▼0.01103.10 ▲0.0276.18 ▲29.16

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
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function do_action() in wp-content/plugins/kalamatino/inc/templates/words-page.php:2

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration Passed 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
6 plugin tags: string, replace words, replace string, replace text, words...

kalamatino/kalamatino.php Passed 13 tests

The entry point to "Kalamatino" version 1.0.1 is a PHP file that has certain tags in its header comment area
41 characters long description:
You can do changes on your website words.

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
Good job! No executable or dangerous file extensions detected426 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP32215362
PO File1212663
SVG1001

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.30
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions8
▷ Named functions8100.00%
▷ Anonymous functions00.00%
Constants8
▷ Global constants8100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/icon-256x256.png6.52KB2.74KB▼ 57.93%
assets/icon-128x128.png4.14KB1.71KB▼ 58.62%