74% ifocus-sk-link-nest-lite

Code Review | iFOCUS.sk Link Nest Lite

WordPress plugin iFOCUS.sk Link Nest Lite scored74%from 54 tests.

About plugin

  • Plugin page: ifocus-sk-link-ne...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.8-6.2
  • WordPress version: 6.3.1
  • First release: Apr 6, 2023
  • Latest release: Apr 11, 2023
  • Number of updates: 20
  • Update frequency: every 0.7 days
  • Top authors: ifocusdigital (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /125 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.39MB] [CPU: ▼0.20ms] Passed 4 tests

A check of server-side resources used by iFOCUS.sk Link Nest Lite
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.89 ▲0.4347.29 ▲0.97
Dashboard /wp-admin3.72 ▲0.4246.46 ▲0.59
Posts /wp-admin/edit.php3.78 ▲0.4251.36 ▲0.76
Add New Post /wp-admin/post-new.php6.24 ▲0.3689.54 ▼3.12
Media Library /wp-admin/upload.php3.58 ▲0.3637.73 ▲4.46
Internal linking /wp-admin/options-general.php?page=ifocus-link-nest3.5535.32

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 103 new files
Database: 1 new table, 7 new options
New tables
wp_ifocus_keywords
New WordPress options
ifocus_link_nest_settings_last_updated
db_upgraded
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options
can_compress_scripts
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for iFOCUS.sk Link Nest Lite
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲5813.66 ▼0.711.79 ▼0.1042.36 ▲0.05
Dashboard /wp-admin2,213 ▲225.90 ▲1.0197.06 ▼3.1039.14 ▲2.20
Posts /wp-admin/edit.php2,093 ▲12.03 ▼0.0240.55 ▼0.5035.10 ▼0.97
Add New Post /wp-admin/post-new.php1,517 ▲317.39 ▼0.12664.67 ▼38.8459.04 ▼9.64
Media Library /wp-admin/upload.php1,395 ▲104.18 ▼0.2294.27 ▼9.8840.61 ▼5.61
Internal linking /wp-admin/options-general.php?page=ifocus-link-nest1,1373.2663.1739.56

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
You still need to fix the following
  • The plugin did not uninstall successfully, leaving 1 table in the database
    • wp_ifocus_keywords
  • This plugin did not uninstall successfully, leaving 7 options in the database
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • ifocus_link_nest_settings_last_updated
    • 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
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
    • > GET request to /wp-admin/options-general.php?page=ifocus-link-nest
    • > Console-api (warning) in wp-content/plugins/ifocus-sk-link-nest-lite/admin/js/tabulator.min.js?ver=5.4.3+1:22723
    Invalid column definition option:" "align

Optimizations

Plugin configuration 97% 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
These attributes need to be fixed:
  • Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line ( === ifocus-sk-link-nest-lite === )
You can look at the official readme.txt

ifocus-sk-link-nest-lite/ifocus-sk-link-nest-lite.php Passed 13 tests

The main PHP file in "iFOCUS.sk Link Nest Lite" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
87 characters long description:
Plugin allows the site owner to automate linking selected keywords in the site content.

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
Success! There were no dangerous files found in this plugin20,054 lines of code in 94 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript652,5797799,767
JSON3007,498
PHP194301,1471,797
CSS4621468
Markdown2580368
PO File14444156

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.43
Average class complexity18.44
▷ Minimum class complexity1.00
▷ Maximum class complexity164.00
Average method complexity3.45
▷ Minimum method complexity1.00
▷ Maximum method complexity65.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes16
▷ Abstract classes00.00%
▷ Concrete classes16100.00%
▷ Final classes00.00%
Methods100
▷ Static methods2323.00%
▷ Public methods8181.00%
▷ Protected methods1010.00%
▷ Private methods99.00%
Functions4
▷ Named functions375.00%
▷ Anonymous functions125.00%
Constants16
▷ Global constants16.25%
▷ Class constants1593.75%
▷ Public constants15100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected