89% simple-seo-by-falbar

Code Review | Simple SEO by falbar

WordPress plugin Simple SEO by falbar scored89%from 54 tests.

About plugin

  • Plugin page: simple-seo-by-falbar
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4.2-4.8
  • WordPress version: 6.3.1
  • First release: May 10, 2016
  • Latest release: Jul 21, 2017
  • Number of updates: 19
  • Update frequency: every 23.0 days
  • Top authors: akbsit (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

300+ active /3,272 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▼0.12MB] [CPU: ▼5.76ms] Passed 4 tests

A check of server-side resources used by Simple SEO by falbar
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.86 ▼0.6025.69 ▼14.83
Dashboard /wp-admin3.34 ▲0.0444.47 ▼1.40
Posts /wp-admin/edit.php3.46 ▲0.1045.72 ▼1.92
Add New Post /wp-admin/post-new.php5.93 ▲0.0489.17 ▼0.78
Media Library /wp-admin/upload.php3.26 ▲0.0431.10 ▼4.88

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts
db_upgraded
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

A check of browser resources used by Simple SEO by falbar
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,820 ▲7413.33 ▼1.311.75 ▼0.2346.45 ▲2.13
Dashboard /wp-admin2,215 ▲305.83 ▲0.7798.15 ▼17.6338.33 ▼10.50
Posts /wp-admin/edit.php2,104 ▲152.02 ▲0.0140.28 ▲2.0535.15 ▼2.08
Add New Post /wp-admin/post-new.php6,263 ▲4,74921.71 ▲4.24866.66 ▲171.8075.90 ▲21.38
Media Library /wp-admin/upload.php1,400 ▲94.19 ▲0.0095.99 ▼8.0342.84 ▼0.49

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
  • Tags: Please delete some tags, you are using 14 tag instead of maximum 10
  • Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line ( === simple-seo-by-falbar === )
Please take inspiration from this readme.txt

simple-seo-by-falbar/simple-seo-by-falbar.php Passed 13 tests

Analyzing the main PHP file in "Simple SEO by falbar" version 1.1
56 characters long description:
This plugin extends the standard SEO WordPress features.

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 detected683 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP420225655
PO File16628

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.23
Average class complexity28.00
▷ Minimum class complexity1.00
▷ Maximum class complexity55.00
Average method complexity3.08
▷ Minimum method complexity1.00
▷ Maximum method complexity31.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods26
▷ Static methods00.00%
▷ Public methods2388.46%
▷ Protected methods311.54%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin