90% nevobo-feed

Code Review | Nevobo Feed

WordPress plugin Nevobo Feed scored90%from 54 tests.

About plugin

  • Plugin page: nevobo-feed
  • Plugin version: 3.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-5.3
  • WordPress version: 6.3.1
  • First release: Aug 27, 2012
  • Latest release: Dec 7, 2019
  • Number of updates: 52
  • Update frequency: every 51.1 days
  • Top authors: Masselink (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active /4,096 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.12MB] [CPU: ▼2.14ms] Passed 4 tests

A check of server-side resources used by Nevobo Feed
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.57 ▲0.1140.87 ▲4.26
Dashboard /wp-admin3.42 ▲0.1249.06 ▼0.80
Posts /wp-admin/edit.php3.47 ▲0.1250.26 ▼11.73
Add New Post /wp-admin/post-new.php6.02 ▲0.1498.85 ▲0.63
Media Library /wp-admin/upload.php3.35 ▲0.1241.38 ▲3.35
Nevobo feed /wp-admin/admin.php?page=nevobo-feed/nevobo-feed.php3.3237.38
Over Masselink.net /wp-admin/admin.php?page=nevobo-feed/nevobo-feed.php/over-masselink3.3135.46

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for Nevobo Feed
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,887 ▲12613.35 ▼0.901.92 ▲0.0242.07 ▼0.27
Dashboard /wp-admin2,263 ▲935.04 ▼0.66104.39 ▲4.5372.06 ▲24.97
Posts /wp-admin/edit.php2,150 ▲472.33 ▲0.3038.90 ▲0.9236.67 ▼1.93
Add New Post /wp-admin/post-new.php1,562 ▲1617.57 ▼5.65774.36 ▲103.5936.81 ▼16.53
Media Library /wp-admin/upload.php1,442 ▲424.38 ▲0.13114.20 ▲4.9675.16 ▲26.05
Nevobo feed /wp-admin/admin.php?page=nevobo-feed/nevobo-feed.php1,4292.3641.3731.91
Over Masselink.net /wp-admin/admin.php?page=nevobo-feed/nevobo-feed.php/over-masselink8601.8830.9127.34

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: feed, competitie, sport, volleybal, nevobo...

nevobo-feed/nevobo-feed.php Passed 13 tests

The principal PHP file in "Nevobo Feed" v. 3.3 is loaded by WordPress automatically on each request
115 characters long description:
Toon de RSS feeds van de Nevobo volleybal competitie in stijl op je website. Gebruik shortcode: [nevobo feed="url"]

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
Success! There were no dangerous files found in this plugin787 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP15438736
Markdown17024
CSS2101223
JavaScript1004

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.51
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%
Functions12
▷ Named functions12100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
14 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/rood_ical.png3.02KB1.98KB▼ 34.38%
images/grijs_sets.png4.89KB1.69KB▼ 65.35%
images/lichtblauw_loc.png1.73KB0.43KB▼ 75.30%
images/rood_loc.png1.72KB0.43KB▼ 75.20%
images/grijs_loc.png1.73KB0.43KB▼ 75.21%