62% goodway-group-pixel

Code Review | Goodway Pixels

WordPress plugin Goodway Pixels scored62%from 54 tests.

About plugin

  • Plugin page: goodway-group-pixel
  • Plugin version: 2015.05.07
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5.1-4.2
  • WordPress version: 6.3.1
  • First release: Mar 11, 2015
  • Latest release: May 7, 2015
  • Number of updates: 7
  • Update frequency: every 8.1 days
  • Top authors: Goodway Group (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /1,032 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.03MB] [CPU: ▼0.42ms] Passed 4 tests

This is a short check of server-side resources used by Goodway Pixels
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0246.38 ▲0.11
Dashboard /wp-admin3.34 ▲0.0455.57 ▲4.00
Posts /wp-admin/edit.php3.39 ▲0.0452.45 ▼0.93
Add New Post /wp-admin/post-new.php5.92 ▲0.0397.69 ▼4.88
Media Library /wp-admin/upload.php3.26 ▲0.0343.33 ▲5.65
GoodWay Pixels /wp-admin/options-general.php?page=goodway-settings3.2135.83

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 2 new files
Database: 1 new table, 7 new options
New tables
wp_goodway
New WordPress options
theysaidso_admin_options
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts
goodway_db_version
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by Goodway Pixels
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲714.34 ▼0.011.72 ▼0.1445.32 ▲1.38
Dashboard /wp-admin2,199 ▲195.56 ▼0.1481.93 ▼10.4937.65 ▼2.45
Posts /wp-admin/edit.php2,104 ▲42.03 ▲0.0136.79 ▲0.3836.54 ▲2.75
Add New Post /wp-admin/post-new.php1,369 ▼16216.62 ▼6.45582.37 ▼60.6143.64 ▼10.82
Media Library /wp-admin/upload.php1,398 ▲14.17 ▼0.0897.70 ▼7.3747.67 ▲3.07
GoodWay Pixels /wp-admin/options-general.php?page=goodway-settings8811.6926.5530.68

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • Zombie tables were found after uninstall: 1 table
    • wp_goodway
  • The uninstall procedure has failed, leaving 7 options in the database
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded
    • goodway_db_version
    • widget_theysaidso_widget

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
    • > GET request to /wp-admin/options-general.php?page=goodway-settings
    • > User deprecated in wp-includes/functions.php+5463
    Function screen_icon is deprecated since version 3.8.0 with no alternative available.
    • > GET request to /wp-admin/options-general.php?page=goodway-settings
    • > User deprecated in wp-includes/functions.php+5463
    Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/goodway-group-pixel/goodway.php

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
    • > GET request to /wp-admin/options-general.php?page=goodway-settings
    • > Network (severe)
    https://www.goodwaygroup.com/img/logo-gg.png - Failed to load resource: the server responded with a status of 404 ()

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
1 plugin tags: goodway

goodway-group-pixel/goodway.php 92% from 13 tests

The main PHP file in "Goodway Pixels" ver. 2015.05.07 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("goodway-group-pixel.php" instead of "goodway.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
Success! There were no dangerous files found in this plugin175 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP12010175

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.25
Average class complexity14.00
▷ Minimum class complexity14.00
▷ Maximum class complexity14.00
Average method complexity2.30
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes1100.00%
Methods10
▷ Static methods00.00%
▷ Public methods10100.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

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected