83% codedeyo-githubb-repositories

Code Review | Codedeyo GitHub Repositories

WordPress plugin Codedeyo GitHub Repositories scored83%from 54 tests.

About plugin

  • Plugin page: codedeyo-githubb-...
  • Plugin version: 1.00
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6.0-5.5
  • WordPress version: 6.3.1
  • First release: Sep 11, 2019
  • Latest release: Dec 13, 2020
  • Number of updates: 6
  • Update frequency: every 76.5 days
  • Top authors: biodunhi (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /432 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

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

Server-side resources used by Codedeyo GitHub Repositories
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0137.47 ▼3.27
Dashboard /wp-admin3.33 ▲0.0244.48 ▼1.08
Posts /wp-admin/edit.php3.38 ▲0.0243.11 ▼5.86
Add New Post /wp-admin/post-new.php5.91 ▲0.0280.81 ▼3.84
Media Library /wp-admin/upload.php3.25 ▲0.0244.06 ▲8.88

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Codedeyo GitHub Repositories
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,844 ▲7313.68 ▼0.612.46 ▲0.3040.00 ▼6.05
Dashboard /wp-admin2,220 ▲325.83 ▲0.02101.37 ▼6.9385.41 ▲43.66
Posts /wp-admin/edit.php2,109 ▲202.02 ▲0.0435.27 ▼5.4131.86 ▼4.69
Add New Post /wp-admin/post-new.php1,683 ▲15022.50 ▼0.73766.64 ▲165.3462.20 ▲8.39
Media Library /wp-admin/upload.php1,405 ▲234.26 ▲0.12113.62 ▲13.1844.73 ▲0.56

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
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options

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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/codedeyo-githubb-repositories/codedeyo-githubb-repo.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration 86% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
  • Tags: You are using too many tags: 26 tag instead of maximum 10
The official readme.txt might help

codedeyo-githubb-repositories/codedeyo-githubb-repo.php 77% from 13 tests

The main PHP file in "Codedeyo GitHub Repositories" ver. 1.00 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("codedeyo-githubb-repositories.php" instead of "codedeyo-githubb-repo.php")
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
  • Domain Path: The domain path folder does not exist ("/languages")

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 detected302 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
CSS109159
PHP11215114
JavaScript14229

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.04
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%
Functions7
▷ Named functions7100.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.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
assets/loader/icon.png7.32KB1.06KB▼ 85.46%