74% webcycle-linkbuilding

Code Review | Webcycle Linkbuilding

WordPress plugin Webcycle Linkbuilding scored74%from 54 tests.

About plugin

  • Plugin page: webcycle-linkbuil...
  • Plugin version: 5.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.1.1
  • WordPress version: 6.3.1
  • First release: Apr 9, 2014
  • Latest release: Mar 13, 2015
  • Number of updates: 19
  • Update frequency: every 17.8 days
  • Top authors: DoMirvana (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

30+ active /2,167 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 successfully, without throwing any errors or notices

Server metrics [RAM: ▼0.87MB] [CPU: ▼32.37ms] Passed 4 tests

Server-side resources used by Webcycle Linkbuilding
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0038.10 ▼6.63
Dashboard /wp-admin3.08 ▼0.2331.31 ▼22.39
Posts /wp-admin/edit.php3.08 ▼0.2829.69 ▼17.99
Add New Post /wp-admin/post-new.php3.08 ▼2.8125.49 ▼78.90
Media Library /wp-admin/upload.php3.08 ▼0.1528.24 ▼10.20

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for Webcycle Linkbuilding
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,805 ▲4414.38 ▼0.231.57 ▼0.4543.39 ▼1.89
Dashboard /wp-admin2,211 ▲345.62 ▼0.0389.48 ▼15.1642.33 ▼6.63
Posts /wp-admin/edit.php2,116 ▲161.97 ▼0.0540.10 ▲2.8335.97 ▼6.33
Add New Post /wp-admin/post-new.php1,539 ▲223.13 ▼1.24615.79 ▼47.6756.07 ▼18.07
Media Library /wp-admin/upload.php1,413 ▲104.27 ▲0.1196.82 ▼6.5142.80 ▼8.09

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
Please fix the following items
  • This plugin cannot be uninstalled
    • > Notice in wp-content/plugins/webcycle-linkbuilding/webcycle-linkbuilding.php+86
    Constant QUICK_CACHE_ALLOWED already defined
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts

Smoke tests 75% from 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 50% from 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
Please fix the following items
  • 2× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/webcycle-linkbuilding/webcycle-linkbuilding.php:91
    • > PHP Fatal error
      Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/webcycle-linkbuilding/admin/webcycle-linkbuilding-admin.php:20

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

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
10 plugin tags: vindbaarheid, linkruil, linkbuild, webcycle, linkbuilding...

webcycle-linkbuilding/webcycle-linkbuilding.php Passed 13 tests

The main PHP script in "Webcycle Linkbuilding" version 5.2 is automatically included on every request by WordPress
126 characters long description:
Webcycle Linkbuilding is een Wordpress Plugin om de automatische linkplaatsing door de gratis Webcycle tool mogelijk te maken.

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 plugin141 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP25614132
CSS1209

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.15
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%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.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
No PNG images were found in this plugin