83% orbisius-quick-follow

Code Review | Orbisius Quick Follow

WordPress plugin Orbisius Quick Follow scored83%from 54 tests.

About plugin

  • Plugin page: orbisius-quick-fo...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-3.7.1
  • WordPress version: 6.3.1
  • First release: Dec 2, 2013
  • Latest release: Dec 3, 2013
  • Number of updates: 4
  • Update frequency: every 0.3 days
  • Top authors: lordspace (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /2,435 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
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.04MB] [CPU: ▼5.92ms] Passed 4 tests

An overview of server-side resources used by Orbisius Quick Follow
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0537.35 ▲0.37
Dashboard /wp-admin3.36 ▲0.0244.27 ▼15.64
Posts /wp-admin/edit.php3.41 ▲0.0549.08 ▲3.56
Add New Post /wp-admin/post-new.php5.94 ▲0.0593.97 ▼6.80
Media Library /wp-admin/upload.php3.29 ▲0.0534.62 ▼1.59
Orbisius Quick Follow /wp-admin/options-general.php?page=orbisius-quick-follow/orbisius-quick-follow.php3.2532.31

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded
can_compress_scripts
widget_recent-posts
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for Orbisius Quick Follow
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,925 ▲15415.04 ▲0.257.34 ▲5.5138.12 ▼1.32
Dashboard /wp-admin2,235 ▲435.80 ▲0.85136.80 ▲29.8740.04 ▲1.66
Posts /wp-admin/edit.php2,126 ▲372.93 ▲0.9362.65 ▲27.7033.98 ▼0.22
Add New Post /wp-admin/post-new.php6,400 ▲4,88027.80 ▲4.52904.84 ▲215.9137.06 ▼20.09
Media Library /wp-admin/upload.php1,423 ▲324.98 ▲0.79130.04 ▲25.0045.30 ▲0.50
Orbisius Quick Follow /wp-admin/options-general.php?page=orbisius-quick-follow/orbisius-quick-follow.php1,7227.35147.0451.70

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 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
Please take a closer look at the following
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/orbisius-quick-follow/orbisius-quick-follow.php:29

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)
No browser errors were detected

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
  • Screenshots: These screenshots require images: #1 (Plugin's Settings Page), #2 (Live demo: render as grid)
  • Tags: There are too many tags (39 tag instead of maximum 10)
Please take inspiration from this readme.txt

orbisius-quick-follow/orbisius-quick-follow.php 92% from 13 tests

The principal PHP file in "Orbisius Quick Follow" v. 1.0.0 is loaded by WordPress automatically on each request
You should first fix the following items:
  • Description: The description should be shorter than 140 characters (currently 158 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
Good job! No executable or dangerous file extensions detected343 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP197100299
CSS210144

PHP code Passed 2 tests

This is a very shot 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.23
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%
Functions12
▷ Named functions12100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
5 PNG files occupy 0.20MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-3.png16.78KB8.97KB▼ 46.53%
screenshot-1.png171.03KB53.44KB▼ 68.75%
i/guNzr.qr.16.png0.39KB0.41KB0.00%
i/guNzr.qr.2.png0.23KB0.23KB0.43%
screenshot-2.png20.59KB11.59KB▼ 43.73%