83% github-repo-list

Code Review | GitHub Reop List

WordPress plugin GitHub Reop List scored 83% from 54 tests.

About plugin

  • Plugin page: github-repo-list
  • Plugin version: 1.2.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.4-4.6
  • WordPress version: 6.3.1
  • First release: Jan 5, 2015
  • Latest release: Aug 21, 2016
  • Number of updates: 11
  • Update frequency: every 54.0 days
  • Top authors: Phillip.Gooch (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 657 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
Installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼3.19ms] Passed 4 tests

Server-side resources used by GitHub Reop List
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0239.39 ▲1.97
Dashboard /wp-admin3.33 ▲0.0345.82 ▼0.18
Posts /wp-admin/edit.php3.38 ▲0.0246.25 ▼3.66
Add New Post /wp-admin/post-new.php5.91 ▲0.0291.30 ▼8.46
Media Library /wp-admin/upload.php3.25 ▲0.0235.13 ▼0.45

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

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

Browser metrics Passed 4 tests

Checking browser requirements for GitHub Reop List
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.24 ▼1.341.71 ▲0.0843.50 ▲1.41
Dashboard /wp-admin2,203 ▲145.83 ▲0.94103.33 ▼15.2542.78 ▼8.11
Posts /wp-admin/edit.php2,089 ▼32.04 ▼0.0140.03 ▲2.3436.43 ▲6.78
Add New Post /wp-admin/post-new.php1,646 ▲13217.65 ▼0.01748.30 ▲92.1258.21 ▲0.25
Media Library /wp-admin/upload.php1,388 ▼04.23 ▲0.0298.22 ▼11.9042.99 ▼2.41

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
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_shortcode() in wp-content/plugins/github-repo-list/github-repo-list.php:16

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

readme.txt 88% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
  • Tags: There were no tags found
  • Screenshots: Screenshot #1 (The Critique settings page.) image not found
You can look at the official readme.txt

github-repo-list/github-repo-list.php 92% from 13 tests

The main PHP script in "GitHub Reop List" version 1.2.2 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 166 characters long)

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
Success! There were no dangerous files found in this plugin140 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP12860140

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.47
Average class complexity16.00
▷ Minimum class complexity16.00
▷ Maximum class complexity16.00
Average method complexity6.00
▷ Minimum method complexity1.00
▷ Maximum method complexity16.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
No PNG images were found in this plugin