10% reftagger

Code Review | Logos Reftagger

WordPress plugin Logos Reftagger scored 10% from 54 tests.

About plugin

  • Plugin page: reftagger
  • Plugin version: 2.4.5
  • PHP version: 7.4.16
  • WordPress compatibility: 2.3-5.8
  • WordPress version: 6.3.1
  • First release: Oct 8, 2008
  • Latest release: Dec 9, 2022
  • Number of updates: 40
  • Update frequency: every 129.5 days
  • Top authors: Logos (100%)

Code review

54 tests

User reviews

15 reviews

Install metrics

9,000+ active / 97,608 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
  • The plugin did not install without errors
    • > User deprecated in wp-includes/functions.php+5747
    Function add_option was called with an argument that is deprecated since version 2.3.0 with no alternative available.

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

Server-side resources used by Logos Reftagger
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0235.39 ▼5.23
Dashboard /wp-admin3.32 ▲0.0143.77 ▼1.78
Posts /wp-admin/edit.php3.37 ▲0.0143.34 ▼14.57
Add New Post /wp-admin/post-new.php5.90 ▲0.0186.06 ▼33.04
Media Library /wp-admin/upload.php3.24 ▲0.0134.92 ▲1.04
Logos Reftagger /wp-admin/options-general.php?page=reftagger/RefTagger.php3.2133.23

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 18 new options
New WordPress options
lbs_tag_chapters
lbs_existing_libronix
theysaidso_admin_options
lbs_libronix
db_upgraded
lbs_libronix_color
can_compress_scripts
widget_recent-comments
lbs_nosearch
lbs_case_insensitive
...

Browser metrics Passed 4 tests

This is an overview of browser requirements for Logos Reftagger
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,838 ▲10313.74 ▼0.6522.68 ▲20.8741.35 ▼11.09
Dashboard /wp-admin2,207 ▲194.94 ▲0.06126.85 ▲17.4167.74 ▲25.90
Posts /wp-admin/edit.php2,093 ▲12.00 ▼0.0041.28 ▲0.0634.85 ▼4.38
Add New Post /wp-admin/post-new.php1,536 ▲2223.21 ▲5.75668.94 ▼88.4960.28 ▼13.40
Media Library /wp-admin/upload.php1,392 ▲14.13 ▼0.03111.00 ▲4.3447.54 ▲0.58
Logos Reftagger /wp-admin/options-general.php?page=reftagger/RefTagger.php1,3922.0444.1747.02

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
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 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
Please fix the following
  • 1× 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/reftagger/RefTagger.php:525

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% 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 require attention:
  • Donate link: Please fix this invalid URI: ""
  • Tags: Please delete some tags, you are using 15 tag instead of maximum 10
You can look at the official readme.txt

reftagger/RefTagger.php 92% from 13 tests

This is the main PHP file of "Logos Reftagger" version 2.4.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("reftagger.php" instead of "RefTagger.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin474 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP14118474

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.54
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.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/LibronixLink_light.png0.28KB0.18KB▼ 35.99%
images/LibronixLink_dark.png0.30KB0.18KB▼ 39.68%