84% wordpress-seo-listing-info

Code Review | WordPress SEO Listing Info

WordPress plugin WordPress SEO Listing Info scored84%from 54 tests.

About plugin

  • Plugin page: wordpress-seo-lis...
  • Plugin version: 1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 2.0.2-4.4
  • WordPress version: 6.3.1
  • First release: Jun 10, 2012
  • Latest release: Jan 13, 2016
  • Number of updates: 22
  • Update frequency: every 59.6 days
  • Top authors: neil_pie (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active /3,543 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

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

An overview of server-side resources used by WordPress SEO Listing Info
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0235.91 ▼5.99
Dashboard /wp-admin3.32 ▲0.0146.69 ▼6.01
Posts /wp-admin/edit.php3.37 ▲0.0147.76 ▼1.80
Add New Post /wp-admin/post-new.php5.90 ▲0.0191.08 ▼3.93
Media Library /wp-admin/upload.php3.24 ▲0.0131.46 ▼4.51

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments
db_upgraded

Browser metrics Passed 4 tests

An overview of browser requirements for WordPress SEO Listing Info
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6514.49 ▼0.191.68 ▼0.0737.98 ▼9.41
Dashboard /wp-admin2,206 ▲155.85 ▲0.96106.03 ▼2.2339.80 ▲3.37
Posts /wp-admin/edit.php2,107 ▲182.00 ▼0.1141.45 ▲6.0635.45 ▲1.98
Add New Post /wp-admin/post-new.php1,533 ▲523.32 ▲0.26585.49 ▼73.6559.29 ▲1.66
Media Library /wp-admin/upload.php1,388 ▼04.21 ▲0.0395.70 ▼15.5840.87 ▼6.41

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

SRP 50% 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 items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wordpress-seo-listing-info/wordpress-seo-listing-info.php:22

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

readme.txt 88% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
  • Plugin Name: Please specify the plugin name on the first line ( === wordpress-seo-listing-info === )
  • Screenshots: Screenshot #1 (Additional columns on the Post listing screen) image required
The official readme.txt is a good inspiration

wordpress-seo-listing-info/wordpress-seo-listing-info.php Passed 13 tests

"WordPress SEO Listing Info" version 1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
115 characters long description:
This plugin extends WordPress SEO by Yoast to add meta decription and title info to the post & page listing screen.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected25 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1131425

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.17
Average class complexity3.00
▷ Minimum class complexity3.00
▷ Maximum class complexity3.00
Average method complexity1.67
▷ Minimum method complexity1.00
▷ Maximum method complexity3.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

Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.02MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png25.25KB9.84KB▼ 61.03%