78% latestmember

Code Review | latestmember

WordPress plugin latestmember scored78%from 54 tests.

About plugin

  • Plugin page: latestmember
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-3.4
  • WordPress version: 6.3.1
  • First release: Nov 24, 2012
  • Latest release: Apr 5, 2015
  • Number of updates: 5
  • Update frequency: every 172.6 days
  • Top authors: progpars (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /987 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
This plugin's installer ran successfully

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

A check of server-side resources used by latestmember
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0243.17 ▲3.29
Dashboard /wp-admin3.32 ▼0.0249.73 ▼15.05
Posts /wp-admin/edit.php3.37 ▲0.0251.42 ▲2.91
Add New Post /wp-admin/post-new.php5.90 ▲0.0288.57 ▼15.00
Media Library /wp-admin/upload.php3.24 ▲0.0236.70 ▲3.28
آخرین کاربران عضو شده /wp-admin/options-general.php?page=latestmember3.1932.65

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

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

Browser metrics Passed 4 tests

latestmember: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,901 ▲14013.69 ▼0.956.23 ▲4.3243.09 ▲2.04
Dashboard /wp-admin2,228 ▲285.77 ▼0.04101.65 ▼2.4741.05 ▼2.99
Posts /wp-admin/edit.php2,104 ▲42.03 ▲0.0141.43 ▲5.2240.85 ▲2.63
Add New Post /wp-admin/post-new.php1,553 ▲2722.90 ▲5.36631.56 ▼44.8866.17 ▼4.92
Media Library /wp-admin/upload.php1,407 ▲44.22 ▼0.0399.75 ▲0.6449.29 ▲4.00
آخرین کاربران عضو شده /wp-admin/options-general.php?page=latestmember7872.0523.8246.97

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
    • > GET request to /wp-admin/options-general.php?page=latestmember
    • > Notice in wp-content/plugins/latestmember/latestmember.php+57
    Undefined index: usertotal
    • > GET request to /wp-admin/options-general.php?page=latestmember
    • > User deprecated in wp-includes/functions.php+5463
    Function screen_icon is deprecated since version 3.8.0 with no alternative available.
    • > GET request to /wp-admin/options-general.php?page=latestmember
    • > User deprecated in wp-includes/functions.php+5463
    Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.

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
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/latestmember/latestmember.php:15

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
  • Plugin Name: Please specify the plugin name on the first line ( === latestmember === )
You can look at the official readme.txt

latestmember/latestmember.php Passed 13 tests

Analyzing the main PHP file in "latestmember" version 1.0
108 characters long description:
نمایش آخرین کاربران عضو شده با استفاده از تکنولوژی جی کوئری

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
No dangerous file extensions were detected137 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP111981
CSS10035
JavaScript12321

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.08
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%
Functions7
▷ Named functions7100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin