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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 43.17 ▲3.29 |
Dashboard /wp-admin | 3.32 ▼0.02 | 49.73 ▼15.05 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 51.42 ▲2.91 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 88.57 ▼15.00 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 36.70 ▲3.28 |
آخرین کاربران عضو شده /wp-admin/options-general.php?page=latestmember | 3.19 | 32.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,901 ▲140 | 13.69 ▼0.95 | 6.23 ▲4.32 | 43.09 ▲2.04 |
Dashboard /wp-admin | 2,228 ▲28 | 5.77 ▼0.04 | 101.65 ▼2.47 | 41.05 ▼2.99 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.01 | 41.43 ▲5.22 | 40.85 ▲2.63 |
Add New Post /wp-admin/post-new.php | 1,553 ▲27 | 22.90 ▲5.36 | 631.56 ▼44.88 | 66.17 ▼4.92 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.22 ▼0.03 | 99.75 ▲0.64 | 49.29 ▲4.00 |
آخرین کاربران عضو شده /wp-admin/options-general.php?page=latestmember | 787 | 2.05 | 23.82 | 46.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
- > PHP Fatal error
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 ===
)
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 11 | 9 | 81 |
CSS | 1 | 0 | 0 | 35 |
JavaScript | 1 | 2 | 3 | 21 |
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 code | 0.08 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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