68% wp-followme-css

Code Review | WP FollowMe CSS

WordPress plugin WP FollowMe CSS scored68%from 54 tests.

About plugin

  • Plugin page: wp-followme-css
  • Plugin version: 3.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8-4.5.2
  • WordPress version: 6.3.1
  • First release: May 11, 2016
  • Latest release: May 12, 2016
  • Number of updates: 3
  • Update frequency: every 0.3 days
  • Top authors: AJenbo (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /803 total downloads

Benchmarks

Plugin footprint 65% 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.95MB] [CPU: ▼38.20ms] Passed 4 tests

An overview of server-side resources used by WP FollowMe CSS
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0244.38 ▲1.39
Dashboard /wp-admin3.00 ▼0.3426.83 ▼40.52
Posts /wp-admin/edit.php3.00 ▼0.3525.71 ▼23.01
Add New Post /wp-admin/post-new.php3.00 ▼2.8826.97 ▼80.29
Media Library /wp-admin/upload.php3.00 ▼0.2326.59 ▼8.96

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-posts
widget_recent-comments
can_compress_scripts
wp_followme_options
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

This is an overview of browser requirements for WP FollowMe CSS
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,816 ▲3014.36 ▼0.011.93 ▼0.2044.25 ▲2.22
Dashboard /wp-admin2,204 ▲275.51 ▼0.1691.97 ▲4.6240.02 ▼3.86
Posts /wp-admin/edit.php2,109 ▲92.04 ▲0.0233.70 ▼1.7037.36 ▼1.73
Add New Post /wp-admin/post-new.php1,561 ▲1923.31 ▲0.20613.33 ▼96.6261.57 ▲11.20
Media Library /wp-admin/upload.php1,412 ▲154.24 ▲0.0299.38 ▼4.1845.66 ▼0.43
WP FollowMe CSS /wp-admin/followme.php260.440.0714.29

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • The plugin did not uninstall gracefully
    • > User deprecated in wp-includes/functions.php+5737
    Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/wp-followme-css/followme.php:20

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
    • > GET request to /wp-admin/followme.php
    • > Network (severe)
    wp-admin/followme.php - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
  • Screenshots: Screenshot #1 ("Follow be" badge) image required
You can look at the official readme.txt

wp-followme-css/followme.php 92% from 13 tests

"WP FollowMe CSS" version 3.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
  • Main file name: The principal plugin file should be the same as the plugin slug ("wp-followme-css.php" instead of "followme.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin269 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP14240268
JavaScript1091

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.18
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%
Functions10
▷ Named functions220.00%
▷ Anonymous functions880.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
17 PNG files occupy 0.07MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
icons/9.png1.73KB1.40KB▼ 19.40%
icons/5.png0.48KB0.47KB▼ 1.03%
icons/2.png2.36KB1.68KB▼ 28.83%
icons/16.png2.28KB1.57KB▼ 31.34%
icons/12.png1.88KB1.56KB▼ 16.93%