89% wp-scholarship-finder

Code Review | Scholarship Finder - Free Scholarships - Pick A Scholarship

WordPress plugin Scholarship Finder - Free Scholarships - Pick A Scholarship scored89%from 54 tests.

About plugin

  • Plugin page: wp-scholarship-fi...
  • Plugin version: 2.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.1.1
  • WordPress version: 6.3.1
  • First release: Nov 20, 2017
  • Latest release: Jan 17, 2023
  • Number of updates: 32
  • Update frequency: every 59.2 days
  • Top authors: pdtasktrack (100%)

Code review

54 tests

User reviews

1 review

Install metrics

50+ active /11,942 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

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

This is a short check of server-side resources used by Scholarship Finder - Free Scholarships - Pick A Scholarship
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0340.49 ▼0.82
Dashboard /wp-admin3.33 ▲0.0249.42 ▼2.01
Posts /wp-admin/edit.php3.38 ▲0.0252.39 ▲3.18
Add New Post /wp-admin/post-new.php5.91 ▲0.0287.70 ▼0.93
Media Library /wp-admin/upload.php3.25 ▲0.0238.08 ▲3.92
WP Scholarship Setting /wp-admin/options-general.php?page=wp_scholarship_setting3.2239.35

Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] 67% from 3 tests

Filesystem and database footprint
Please fix the following
  • There were 1 file (4.00KB) illegally modified outside of "wp-content/plugins/wp-scholarship-finder/" and "wp-content/uploads/"
    • (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options
db_upgraded
widget_recent-comments
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by Scholarship Finder - Free Scholarships - Pick A Scholarship
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,905 ▲14413.96 ▼0.457.76 ▲5.9340.31 ▼0.75
Dashboard /wp-admin2,228 ▲225.86 ▲0.96104.86 ▲1.4439.85 ▼1.24
Posts /wp-admin/edit.php2,104 ▲41.99 ▼0.0134.05 ▼2.0332.37 ▼3.19
Add New Post /wp-admin/post-new.php1,558 ▲2718.23 ▼4.88644.09 ▼22.2561.03 ▲3.40
Media Library /wp-admin/upload.php1,404 ▲44.15 ▼0.04102.59 ▼1.2145.14 ▼3.43
WP Scholarship Setting /wp-admin/options-general.php?page=wp_scholarship_setting8672.0224.3125.78

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
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

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

SRP Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
  • Contributors: Plugin contributors field is missing
Please take inspiration from this readme.txt

wp-scholarship-finder/wp_scholarship.php 92% from 13 tests

The entry point to "Scholarship Finder - Free Scholarships - Pick A Scholarship" version 2.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-scholarship-finder.php" instead of "wp_scholarship.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin721 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PHP515932480
CSS22310203
JavaScript19338

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.34
Average class complexity2.00
▷ Minimum class complexity1.00
▷ Maximum class complexity3.00
Average method complexity1.25
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods8
▷ Static methods00.00%
▷ Public methods8100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants8
▷ Global constants8100.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
assests/css/arrow_icon.png2.86KB0.19KB▼ 93.50%