84% wp-seo-humility

Code Review | WP SEO Humility

WordPress plugin WP SEO Humility scored 84% from 54 tests.

About plugin

  • Plugin page: wp-seo-humility
  • Plugin version: 0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-4.2.2
  • WordPress version: 6.3.1
  • First release: May 13, 2015
  • Latest release: May 13, 2015
  • Number of updates: 2
  • Update frequency: every 0.5 days
  • Top authors: mcdonna (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active / 797 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.01MB] [CPU: ▼5.14ms] Passed 4 tests

This is a short check of server-side resources used by WP SEO Humility
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.45 ▼4.90
Dashboard /wp-admin3.31 ▲0.0146.93 ▼3.43
Posts /wp-admin/edit.php3.36 ▲0.0143.34 ▼6.08
Add New Post /wp-admin/post-new.php5.90 ▲0.0183.87 ▼6.15
Media Library /wp-admin/upload.php3.24 ▲0.0135.69 ▲1.29

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
db_upgraded
can_compress_scripts
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

This is an overview of browser requirements for WP SEO Humility
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲4314.48 ▼0.101.79 ▼0.2443.61 ▼4.74
Dashboard /wp-admin2,209 ▲244.84 ▼0.17103.06 ▼4.9741.91 ▼4.47
Posts /wp-admin/edit.php2,086 ▼32.11 ▲0.0737.30 ▼4.9336.08 ▼3.02
Add New Post /wp-admin/post-new.php1,514 ▼517.52 ▼5.71663.78 ▼16.3258.90 ▲5.65
Media Library /wp-admin/upload.php1,385 ▼04.23 ▲0.0394.22 ▼10.8342.61 ▼4.63

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 detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test

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
The following issues need your attention
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-seo-humility/wpseo-humility.php:24

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: menus, admin, annoyance

wp-seo-humility/wpseo-humility.php 92% from 13 tests

The main file in "WP SEO Humility" v. 0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("wp-seo-humility.php" instead of "wpseo-humility.php")

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
Good job! No executable or dangerous file extensions detected24 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP172624

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.78
Average class complexity8.00
▷ Minimum class complexity8.00
▷ Maximum class complexity8.00
Average method complexity3.33
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods3
▷ Static methods00.00%
▷ Public methods3100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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 were not PNG files found in your plugin