78% ifs-seo-simple

Code Review | Plugin Name: IFS Seo Simple

WordPress plugin Plugin Name: IFS Seo Simple scored78%from 54 tests.

About plugin

  • Plugin page: ifs-seo-simple
  • Plugin version: 2.21
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-5.4.1
  • WordPress version: 6.3.1
  • First release: Aug 4, 2013
  • Latest release: May 15, 2020
  • Number of updates: 37
  • Update frequency: every 66.9 days
  • Top authors: guusifs (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /2,713 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▲1.44ms] Passed 4 tests

An overview of server-side resources used by Plugin Name: IFS Seo Simple
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0143.37 ▼0.32
Dashboard /wp-admin3.32 ▲0.0253.60 ▲3.59
Posts /wp-admin/edit.php3.37 ▲0.0151.11 ▲3.45
Add New Post /wp-admin/post-new.php5.91 ▲0.0293.42 ▲1.07
Media Library /wp-admin/upload.php3.24 ▲0.0139.27 ▲1.54
IFS SEO Simple /wp-admin/admin.php?page=ifs-seo-simple3.2143.76
Documentation SEO Simple /wp-admin/admin.php?page=ifs-seo-documentation3.2533.36
Configure SEO Simple /wp-admin/admin.php?page=ifs-seo-configure3.2633.54
Feedback about SEO Simple /wp-admin/admin.php?page=ifs-seo-feedback3.2532.48

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

A check of browser resources used by Plugin Name: IFS Seo Simple
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,849 ▲6314.34 ▼0.061.90 ▼0.1443.16 ▼1.47
Dashboard /wp-admin2,233 ▲535.64 ▼0.0390.47 ▼4.1943.96 ▼6.54
Posts /wp-admin/edit.php2,135 ▲352.03 ▲0.0241.62 ▲6.5036.91 ▲0.75
Add New Post /wp-admin/post-new.php6,263 ▲4,73525.98 ▲2.84921.26 ▲260.1959.04 ▼6.42
Media Library /wp-admin/upload.php1,435 ▲354.15 ▲0.0095.07 ▼8.8045.67 ▼0.88
IFS SEO Simple /wp-admin/admin.php?page=ifs-seo-simple9061.9625.6032.50
Documentation SEO Simple /wp-admin/admin.php?page=ifs-seo-documentation9921.9622.7645.13
Configure SEO Simple /wp-admin/admin.php?page=ifs-seo-configure9412.1222.1931.48
Feedback about SEO Simple /wp-admin/admin.php?page=ifs-seo-feedback8442.0324.7131.48

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
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP 0% from 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
Almost there! Just fix the following items
  • 5× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/ifs-seo-simple/includes/add_mini_lib.php
    • > /wp-content/plugins/ifs-seo-simple/includes/feedback.php
    • > /wp-content/plugins/ifs-seo-simple/includes/documentation.php
    • > /wp-content/plugins/ifs-seo-simple/includes/configure.php
    • > /wp-content/plugins/ifs-seo-simple/includes/main-lib.php
  • 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Warning
      require_once(ABSPATH/wp-content/plugins/ifs-seo-simple/includes/add_mini_lib.php): failed to open stream: No such file or directory in wp-content/plugins/ifs-seo-simple/ifs-seo-simple.php on line 34
    • > PHP Warning
      Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/ifs-seo-simple/ifs-seo-simple.php on line 34
    • > PHP Fatal error
      require_once(): Failed opening required 'ABSPATH/wp-content/plugins/ifs-seo-simple/includes/add_mini_lib.php' (include_path='.:/usr/share/php') in wp-content/plugins/ifs-seo-simple/ifs-seo-simple.php on line 34

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
  • Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line ( === Plugin Name: IFS Seo Simple === )
The official readme.txt might help

ifs-seo-simple/ifs-seo-simple.php Passed 13 tests

"Plugin Name: IFS Seo Simple" version 2.21's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
39 characters long description:
IFS module for SEO in a very simple way

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin1,278 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP61331061,278

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.40
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%
Functions50
▷ Named functions50100.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants5100.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
PNG images were not found in this plugin