77% seo-advance

Code Review | SEO Advance Plugin

WordPress plugin SEO Advance Plugin scored77%from 54 tests.

About plugin

  • Plugin page: seo-advance
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.9.1-4.0
  • WordPress version: 6.3.1
  • First release: Jul 11, 2015
  • Latest release: Aug 15, 2016
  • Number of updates: 7
  • Update frequency: every 57.6 days
  • Top authors: rajeshzala (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /5,049 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

Server metrics [RAM: ▼0.68MB] [CPU: ▼20.43ms] Passed 4 tests

A check of server-side resources used by SEO Advance Plugin
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.40 ▼0.0728.02 ▼9.86
Dashboard /wp-admin3.32 ▲0.0245.01 ▼3.44
Posts /wp-admin/edit.php3.37 ▲0.0143.10 ▼3.48
Add New Post /wp-admin/post-new.php3.19 ▼2.7035.21 ▼64.93
Media Library /wp-admin/upload.php3.24 ▲0.0133.36 ▼2.58

Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] 67% from 3 tests

Filesystem and database footprint
Please fix the following
  • You have illegally modified 1 file (0.95KB) outside of "wp-content/plugins/seo-advance/" and "wp-content/uploads/"
    • (new file) sitemap.xml
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
can_compress_scripts
widget_recent-comments
db_upgraded
widget_theysaidso_widget
theysaidso_admin_options

Browser metrics Passed 4 tests

SEO Advance Plugin: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,821 ▲6014.10 ▼0.251.85 ▲0.3743.86 ▲7.03
Dashboard /wp-admin2,204 ▲235.53 ▼0.0982.28 ▼17.6040.63 ▼2.73
Posts /wp-admin/edit.php2,112 ▲121.95 ▼0.0837.00 ▲2.0234.61 ▼0.17
Add New Post /wp-admin/post-new.php6,305 ▲4,77921.02 ▼1.95861.90 ▲281.7880.51 ▲26.75
Media Library /wp-admin/upload.php1,415 ▲154.34 ▲0.1398.85 ▼11.5642.81 ▼4.90

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested

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
Please fix the following
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/seo-advance/xml/seo_xml_sitemap.php
  • 2× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/seo-advance/seo-advance_import_admin_settings.php:17
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/seo-advance/seo-advance.php:16

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 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
Attributes that require attention:
  • Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
  • Screenshots: Screenshot #1 (xxxxxxxxxxx) image required
The official readme.txt might help

seo-advance/seo-advance.php 92% from 13 tests

"SEO Advance Plugin" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
  • Description: Keep the plugin description shorter than 140 characters (currently 376 characters long)

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
Good job! No executable or dangerous file extensions detected635 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP43832489
XSLT1120146

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.27
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%
Functions13
▷ Named functions13100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin