10% inhouse-tutorials-rss-feed-dashboard-widget

Code Review | InHouse Tutorials RSS Feed Dashboard Widget

WordPress plugin InHouse Tutorials RSS Feed Dashboard Widget scored10%from 54 tests.

About plugin

  • Plugin page: inhouse-tutorials...
  • Plugin version: 0.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.3
  • WordPress version: 6.3.1
  • First release: Nov 23, 2015
  • Latest release: Dec 8, 2015
  • Number of updates: 22
  • Update frequency: every 0.8 days
  • Top authors: inhouse (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /937 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
  • This plugin did not install gracefully
    • > Deprecated in wp-content/plugins/inhouse-tutorials-rss-feed-dashboard-widget/inhouse-tutorials-dashboard-widget.php+59
    Function create_function() is deprecated

Server metrics [RAM: ▼1.96MB] [CPU: ▼48.99ms] Passed 4 tests

An overview of server-side resources used by InHouse Tutorials RSS Feed Dashboard Widget
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.03 ▼1.445.06 ▼32.34
Dashboard /wp-admin2.05 ▼1.264.80 ▼42.49
Posts /wp-admin/edit.php2.05 ▼1.316.80 ▼39.06
Add New Post /wp-admin/post-new.php2.05 ▼3.844.72 ▼82.08
Media Library /wp-admin/upload.php2.05 ▼1.185.90 ▼29.75

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for InHouse Tutorials RSS Feed Dashboard Widget
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,835 ▲8914.73 ▲0.131.61 ▼0.1344.76 ▲5.22
Dashboard /wp-admin2,238 ▲475.80 ▲0.8893.77 ▼14.9238.82 ▼3.15
Posts /wp-admin/edit.php2,089 ▼02.05 ▲0.0137.04 ▼4.5932.98 ▼4.33
Add New Post /wp-admin/post-new.php1,514 ▼517.49 ▼5.81664.74 ▲26.5567.40 ▲3.64
Media Library /wp-admin/upload.php1,385 ▼34.23 ▼0.06107.27 ▼6.5947.80 ▲0.13

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • This plugin did not uninstall without warnings or errors
    • > Deprecated in wp-content/plugins/inhouse-tutorials-rss-feed-dashboard-widget/inhouse-tutorials-dashboard-widget.php+59
    Function create_function() is deprecated
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts

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
The smoke test was a success, however most plugin functionality was not tested

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× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/inhouse-tutorials-rss-feed-dashboard-widget/inhouse-tutorials-dashboard-widget.php:59

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

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
These attributes need your attention:
  • Plugin Name: Please specify the plugin name on the first line ( === inhouse-tutorials-rss-feed-dashboard-widget === )
  • Donate link: Invalid url: ""
You can look at the official readme.txt

inhouse-tutorials-rss-feed-dashboard-widget/inhouse-tutorials-dashboard-widget.php 92% from 13 tests

The principal PHP file in "InHouse Tutorials RSS Feed Dashboard Widget" v. 0.3 is loaded by WordPress automatically on each request
The following require your attention:
  • Main file name: Name the main plugin file the same as the plugin slug ("inhouse-tutorials-rss-feed-dashboard-widget.php" instead of "inhouse-tutorials-dashboard-widget.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin42 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP112942

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.22
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%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected