10% wtyczka-seopilot-dla-wp

Code Review | Wtyczka SeoPilot dla WP

WordPress plugin Wtyczka SeoPilot dla WP scored10%from 54 tests.

About plugin

  • Plugin page: wtyczka-seopilot-...
  • Plugin version: 3.3.091
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-6.0.2
  • WordPress version: 6.3.1
  • First release: Jul 2, 2015
  • Latest release: Oct 5, 2022
  • Number of updates: 23
  • Update frequency: every 115.5 days
  • Top authors: SeoPilot (100%)

Code review

54 tests

User reviews

1 review

Install metrics

300+ active /5,007 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
  • The plugin did not install without errors
    • > Warning in wp-content/plugins/wtyczka-seopilot-dla-wp/SeoPilotClient.php+207
    unlink(wp-content/plugins/wtyczka-seopilot-dla-wp/.pages.db): No such file or directory

Server metrics [RAM: ▲0.15MB] [CPU: ▼3.81ms] Passed 4 tests

This is a short check of server-side resources used by Wtyczka SeoPilot dla WP
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.63 ▲0.1651.45 ▲6.03
Dashboard /wp-admin3.45 ▲0.1551.75 ▼11.36
Posts /wp-admin/edit.php3.57 ▲0.2152.18 ▲3.00
Add New Post /wp-admin/post-new.php6.03 ▲0.1588.33 ▼10.88
Media Library /wp-admin/upload.php3.38 ▲0.1544.21 ▲4.01

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options
can_compress_scripts
db_upgraded
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget
widget_recent-posts
widget_seopilot

Browser metrics Passed 4 tests

A check of browser resources used by Wtyczka SeoPilot dla WP
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,833 ▲7213.16 ▼1.282.19 ▲0.3243.55 ▼1.12
Dashboard /wp-admin2,237 ▲405.84 ▲0.94102.05 ▼27.1140.95 ▼7.36
Posts /wp-admin/edit.php2,116 ▲131.98 ▲0.0138.00 ▼4.2037.85 ▲1.57
Add New Post /wp-admin/post-new.php1,558 ▲2723.12 ▼0.08683.77 ▼3.0472.51 ▲15.81
Media Library /wp-admin/upload.php1,416 ▲164.12 ▼0.15116.71 ▲2.4747.94 ▲1.35

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • This plugin does not fully uninstall, leaving 7 options in the database
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts
    • widget_seopilot
    • widget_theysaidso_widget

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 0% 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
Please take a closer look at the following
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/wtyczka-seopilot-dla-wp/SeoPilotClient.php
  • 2× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wtyczka-seopilot-dla-wp/inc/widgets.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wtyczka-seopilot-dla-wp/seopilot.php:11

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

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: shortcode, moneymaker, advertising, widget

wtyczka-seopilot-dla-wp/seopilot.php 92% from 13 tests

The main PHP file in "Wtyczka SeoPilot dla WP" ver. 3.3.091 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wtyczka-seopilot-dla-wp.php" instead of "seopilot.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin688 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP312668688

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.47
Average class complexity49.33
▷ Minimum class complexity13.00
▷ Maximum class complexity112.00
Average method complexity5.26
▷ Minimum method complexity1.00
▷ Maximum method complexity14.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods34
▷ Static methods720.59%
▷ Public methods1955.88%
▷ Protected methods00.00%
▷ Private methods1544.12%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.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
There were not PNG files found in your plugin