84% soivigol-notes

Code Review | Soivigol Notes

WordPress plugin Soivigol Notes scored84%from 54 tests.

About plugin

  • Plugin page: soivigol-notes
  • Plugin version: 1.0.4
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 6.1-6.3.1
  • WordPress version: 6.3.1
  • First release: Jun 21, 2023
  • Latest release: Sep 12, 2023
  • Number of updates: 11
  • Update frequency: every 8.1 days
  • Top authors: soivigol (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /258 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

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

An overview of server-side resources used by Soivigol Notes
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0435.48 ▼1.35
Dashboard /wp-admin3.33 ▲0.0244.31 ▼1.98
Posts /wp-admin/edit.php3.38 ▲0.0247.04 ▼2.08
Add New Post /wp-admin/post-new.php5.92 ▲0.0496.55 ▼1.79
Media Library /wp-admin/upload.php3.25 ▲0.0241.82 ▲10.83
Soivigol Check List /wp-admin/options-general.php?page=soivigol-workflow3.2231.52

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
widget_recent-posts
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by Soivigol Notes
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,810 ▲7513.22 ▼1.154.56 ▲2.8541.54 ▼9.12
Dashboard /wp-admin2,216 ▲285.85 ▼0.05105.62 ▲4.2944.76 ▲0.59
Posts /wp-admin/edit.php2,099 ▲102.00 ▼0.0039.65 ▼1.6436.87 ▼0.74
Add New Post /wp-admin/post-new.php6,593 ▲5,07328.13 ▲5.191,004.83 ▲403.3644.53 ▼10.91
Media Library /wp-admin/upload.php1,395 ▲74.24 ▲0.0399.22 ▼1.4349.26 ▲6.62
Soivigol Check List /wp-admin/options-general.php?page=soivigol-workflow1,0153.9682.4028.57

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
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
    • > GET request to /wp-admin/options-general.php?page=soivigol-workflow
    • > Deprecation (warning) in unknown
    /wp-content/plugins/soivigol-notes/build/flow/index.js?ver=50a07e33f4837212e171 0 Listener added for a synchronous 'DOMNodeInserted' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
  • Screenshots: These screenshots have no corresponding images in /assets: #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from), #2 (This is the second screen shot)
You can look at the official readme.txt

soivigol-notes/soivigol-notes.php 92% from 13 tests

The entry point to "Soivigol Notes" version 1.0.4 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
  • Description: Please keep the plugin description shorter than 140 characters (currently 310 characters long)

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
Everything looks great! No dangerous files found in this plugin189 lines of code in 11 files:
LanguageFilesBlank linesComment linesLines of code
PHP42864150
JSON20032
CSS3005
JavaScript2002

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.09
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%
Functions10
▷ Named functions10100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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 images were found in this plugin