83% uncomplicated-seo

Code Review | Uncomplicated SEO

WordPress plugin Uncomplicated SEO scored 83% from 54 tests.

About plugin

  • Plugin page: uncomplicated-seo
  • Plugin version: 1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.9-4.8.2
  • WordPress version: 6.3.1
  • First release: Dec 9, 2014
  • Latest release: Oct 24, 2017
  • Number of updates: 21
  • Update frequency: every 50.1 days
  • Top authors: antsanchez (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

200+ active / 5,090 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.09MB] [CPU: ▼0.51ms] Passed 4 tests

Server-side resources used by Uncomplicated SEO
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.56 ▲0.0949.56 ▲8.41
Dashboard /wp-admin3.39 ▲0.0854.06 ▲3.64
Posts /wp-admin/edit.php3.45 ▲0.0850.96 ▼0.73
Add New Post /wp-admin/post-new.php5.98 ▲0.0991.42 ▼5.36
Media Library /wp-admin/upload.php3.32 ▲0.0838.68 ▲0.42
Uncomplicated SEO /wp-admin/options-general.php?page=uncomplicated_seo3.2835.94

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Uncomplicated SEO
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,806 ▲1713.26 ▲0.025.77 ▲4.1552.69 ▲7.38
Dashboard /wp-admin2,210 ▲44.85 ▼0.99101.72 ▼11.5741.05 ▼1.42
Posts /wp-admin/edit.php2,093 ▲42.01 ▼0.0433.90 ▼6.5238.77 ▲3.95
Add New Post /wp-admin/post-new.php6,474 ▲4,96020.13 ▲2.631,052.39 ▲363.8459.52 ▲0.91
Media Library /wp-admin/upload.php1,392 ▲44.23 ▼0.0293.53 ▼13.1042.15 ▼3.62
Uncomplicated SEO /wp-admin/options-general.php?page=uncomplicated_seo9852.0324.8926.93

Uninstaller [IO: ✅] [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
It is recommended to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

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
Almost there! Just fix the following items
  • 3× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/uncomplicated-seo/uncomplicated-seo.php:29
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/uncomplicated-seo/inc/meta-box.php:53
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/uncomplicated-seo/inc/form.php:2

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 87% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
  • Screenshots: Screenshot #1 (Uncomplicated SEO options form) image not found
  • Tags: There are too many tags (12 tag instead of maximum 10)
You can look at the official readme.txt

uncomplicated-seo/uncomplicated-seo.php 85% from 13 tests

"Uncomplicated SEO" version 1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
  • Domain Path: Prefix the domain path with a forward slash character ("/uncomplicated-seo")
  • Domain Path: You should use only dashes and lowercase characters for the domain path ("uncomplicated-seo")

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
Good job! No executable or dangerous file extensions detected571 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP3115103531
CSS16040

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.44
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%
Functions15
▷ Named functions15100.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
No PNG images were found in this plugin