84% talkee

Code Review | Talkee

WordPress plugin Talkee scored84%from 54 tests.

About plugin

  • Plugin page: talkee
  • Plugin version: 0.0.1
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 6.0-6.2
  • WordPress version: 6.3.1
  • First release: May 11, 2023
  • Latest release: May 11, 2023
  • Number of updates: 4
  • Update frequency: N/A
  • Top authors: talkee (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /88 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
Install script ran successfully

Server metrics [RAM: ▲0.11MB] [CPU: ▼6.18ms] Passed 4 tests

This is a short check of server-side resources used by Talkee
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.55 ▲0.0931.27 ▼17.41
Dashboard /wp-admin3.42 ▲0.1249.55 ▼4.72
Posts /wp-admin/edit.php3.54 ▲0.1852.35 ▲1.93
Add New Post /wp-admin/post-new.php6.00 ▲0.1287.63 ▼4.51
Media Library /wp-admin/upload.php3.35 ▲0.1239.29 ▲3.03

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
widget_recent-comments
can_compress_scripts
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

Talkee: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,841 ▲9513.31 ▼1.001.77 ▼0.1039.57 ▼6.40
Dashboard /wp-admin2,222 ▲344.90 ▼0.97104.21 ▼6.7740.72 ▼2.27
Posts /wp-admin/edit.php2,108 ▲192.03 ▼0.0335.45 ▼0.8230.95 ▼5.25
Add New Post /wp-admin/post-new.php1,527 ▲417.72 ▼5.87692.48 ▲34.8552.78 ▲0.20
Media Library /wp-admin/upload.php1,404 ▲134.26 ▲0.0195.71 ▼3.7644.72 ▼1.80

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
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% 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
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/talkee/talkee.php:22

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: web3, comments, blockchain

talkee/talkee.php 92% from 13 tests

The main file in "Talkee" v. 0.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
  • Requires at least: Required version does not match the one declared in readme.txt ("5.0" instead of "6.0")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected814 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PO File4133149497
PHP35557317

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.46
Average class complexity25.00
▷ Minimum class complexity12.00
▷ Maximum class complexity38.00
Average method complexity3.09
▷ Minimum method complexity1.00
▷ Maximum method complexity11.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods23
▷ Static methods00.00%
▷ Public methods23100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected