90% installus-links

Code Review | Installus links

WordPress plugin Installus links scored90%from 54 tests.

About plugin

  • Plugin page: installus-links
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 2.7-4.8
  • WordPress version: 6.3.1
  • First release: Nov 19, 2017
  • Latest release: Nov 19, 2017
  • Number of updates: 3
  • Update frequency: every 0.3 days
  • Top authors: installus (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /671 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼8.26ms] Passed 4 tests

This is a short check of server-side resources used by Installus links
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0242.50 ▲1.19
Dashboard /wp-admin3.33 ▼0.0244.55 ▼17.34
Posts /wp-admin/edit.php3.38 ▲0.0244.06 ▼1.35
Add New Post /wp-admin/post-new.php5.91 ▲0.0281.73 ▼13.98
Media Library /wp-admin/upload.php3.25 ▲0.0233.25 ▼0.37
Installus links /wp-admin/options-general.php?page=installus-links3.2230.72

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 11 new options
New WordPress options
installus_ile_ext
installus_ile_site_id
theysaidso_admin_options
can_compress_scripts
widget_recent-comments
installus_ile_install_date
installus_ile_api_remind
widget_theysaidso_widget
installus_ile_db_version
db_upgraded
...

Browser metrics Passed 4 tests

An overview of browser requirements for Installus links
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,823 ▲8813.30 ▼1.015.22 ▲3.4645.20 ▼6.05
Dashboard /wp-admin2,229 ▲414.85 ▼0.9699.53 ▼6.6439.92 ▼5.91
Posts /wp-admin/edit.php2,072 ▼202.04 ▼0.0135.58 ▼3.9335.82 ▼0.21
Add New Post /wp-admin/post-new.php1,536 ▲323.31 ▲0.12662.08 ▼11.4162.78 ▲4.78
Media Library /wp-admin/upload.php1,392 ▲14.17 ▼0.1094.96 ▼5.1441.46 ▼6.41
Installus links /wp-admin/options-general.php?page=installus-links8492.0524.8733.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
The following items require your attention
  • This plugin does not fully uninstall, leaving 7 options in the database
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • installus_ile_install_date
    • db_upgraded
    • 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
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: exe, files, link, javascript, engine...

installus-links/installus-links.php Passed 13 tests

The main PHP file in "Installus links" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
110 characters long description:
Automatically replace .EXE links for your global audience and allows you to earn commissions on installus.net.

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
Good job! No executable or dangerous file extensions detected245 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP29423245

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.21
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%
Functions8
▷ Named functions8100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
img/installus_ile_logo.png2.10KB2.43KB0.00%
screenshot-1.png61.19KB20.62KB▼ 66.31%