84% mesajkolik

Code Review | Mesajkolik

WordPress plugin Mesajkolik scored84%from 54 tests.

About plugin

  • Plugin page: mesajkolik
  • Plugin version: 1.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.8-5.5
  • WordPress version: 6.3.1
  • First release: Oct 2, 2020
  • Latest release: Oct 2, 2020
  • Number of updates: 6
  • Update frequency: every 0.2 days
  • Top authors: organikhaberlesme (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /331 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.16MB] [CPU: ▼4.53ms] Passed 4 tests

This is a short check of server-side resources used by Mesajkolik
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.88 ▲0.1545.22 ▲0.22
Dashboard /wp-admin3.79 ▲0.2254.69 ▼0.25
Posts /wp-admin/edit.php3.84 ▲0.1657.02 ▼0.42
Add New Post /wp-admin/post-new.php6.32 ▲0.1887.95 ▼17.20
Media Library /wp-admin/upload.php3.65 ▲0.1639.76 ▼0.26

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 55 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-posts
can_compress_scripts
widget_recent-comments

Browser metrics Passed 4 tests

A check of browser resources used by Mesajkolik
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,823 ▲3713.63 ▼0.675.51 ▲3.5928.37 ▼19.12
Dashboard /wp-admin2,214 ▲375.21 ▼0.4199.14 ▲5.5396.17 ▲48.87
Posts /wp-admin/edit.php2,134 ▲342.34 ▲0.3638.89 ▲0.5140.32 ▲2.60
Add New Post /wp-admin/post-new.php1,712 ▲18023.34 ▲0.09603.03 ▼87.8837.90 ▼20.65
Media Library /wp-admin/upload.php1,428 ▲314.90 ▲0.65104.24 ▼0.1382.95 ▲35.72

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
Please fix the following items
  • 2× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mesajkolik/mesajkolik.php:15
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_users() in wp-content/plugins/mesajkolik/views/index.php:2

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 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
10 plugin tags: trkiye sms, wordpress sms, organik haberleme teknolojileri, woocommerce sms, toplu sms...

mesajkolik/mesajkolik.php Passed 13 tests

Analyzing the main PHP file in "Mesajkolik" version 1.0
38 characters long description:
Organik Haberlesme Toplu SMS Eklentisi

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected20,135 lines of code in 44 files:
LanguageFilesBlank linesComment linesLines of code
CSS52,0592210,851
SVG1002,671
JavaScript633442,069
Sass1434341,768
LESS1434441,758
PHP394481,008
Markdown15010

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.47
Average class complexity18.00
▷ Minimum class complexity18.00
▷ Maximum class complexity18.00
Average method complexity3.12
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods8
▷ Static methods00.00%
▷ Public methods787.50%
▷ Protected methods00.00%
▷ Private methods112.50%
Functions20
▷ Named functions20100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
3 PNG files occupy 0.44MB with 0.32MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
includes/img/logo-menu.png5.29KB0.89KB▼ 83.12%
includes/img/organik-logo.png286.76KB94.79KB▼ 66.94%
includes/img/logo-mini.png156.82KB47.90KB▼ 69.46%