10% note-to-gibbs

Code Review | Note to Gibbs

WordPress plugin Note to Gibbs scored10%from 54 tests.

About plugin

  • Plugin page: note-to-gibbs
  • Plugin version: 1...
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8-3.7.1
  • WordPress version: 6.3.1
  • First release: Nov 3, 2013
  • Latest release: Nov 3, 2013
  • Number of updates: 5
  • Update frequency: every 0.2 days
  • Top authors: graphicgeek (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /817 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
  • This plugin did not install gracefully
    • > User deprecated in wp-includes/functions.php+5643
    File class-feed.php is deprecated since version 4.7.0! Use fetch_feed() instead.

Server metrics [RAM: ▲0.00MB] [CPU: ▼5.27ms] Passed 4 tests

Server-side resources used by Note to Gibbs
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0040.01 ▲3.03
Dashboard /wp-admin3.31 ▲0.0046.41 ▼0.66
Posts /wp-admin/edit.php3.36 ▲0.0048.21 ▼2.40
Add New Post /wp-admin/post-new.php5.89 ▲0.0082.07 ▼15.38
Media Library /wp-admin/upload.php3.23 ▲0.0031.53 ▼2.63

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

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

Browser metrics Passed 4 tests

Note to Gibbs: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲4314.48 ▲0.191.74 ▼0.2638.36 ▼3.22
Dashboard /wp-admin2,206 ▲155.84 ▲0.95104.10 ▼0.5039.06 ▼3.24
Posts /wp-admin/edit.php2,089 ▼32.01 ▼0.0036.98 ▼3.3034.10 ▼3.03
Add New Post /wp-admin/post-new.php1,514 ▼3323.53 ▲5.26652.56 ▲19.1257.89 ▼2.24
Media Library /wp-admin/upload.php1,391 ▲124.21 ▼0.0797.63 ▼4.5145.36 ▲1.03

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

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 | 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
Please fix the following items
  • 3× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/note-to-gibbs/core/functions.php:46
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/note-to-gibbs/core/functions.php:46
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/note-to-gibbs/core/widget.php:5

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: pierre orourke, fun, note to gibbs, rss, quotes...

note-to-gibbs/note-to-gibbs.php 92% from 13 tests

Analyzing the main PHP file in "Note to Gibbs" version 1...
The following require your attention:
  • Version: Use periods and digits only for your plugin's version number (ex. "1.0.3" instead of "1...")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected237 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP46236175
CSS19062

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.11
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods5
▷ Static methods120.00%
▷ Public methods5100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.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
No PNG files were detected