Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▼0.87MB] [CPU: ▼28.11ms] Passed 4 tests
This is a short check of server-side resources used by Justclick Reg
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 39.30 ▼2.87 |
Dashboard /wp-admin | 3.07 ▼0.23 | 24.92 ▼22.03 |
Posts /wp-admin/edit.php | 3.07 ▼0.28 | 24.93 ▼19.96 |
Add New Post /wp-admin/post-new.php | 3.07 ▼2.81 | 26.62 ▼60.82 |
Media Library /wp-admin/upload.php | 3.07 ▼0.15 | 23.35 ▼9.62 |
Justclick Reg /wp-admin/options-general.php?page=justclick-reg | 3.08 | 24.03 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Justclick Reg
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 14.40 ▲0.01 | 1.66 ▼0.62 | 43.14 ▼4.76 |
Dashboard /wp-admin | 2,212 ▲21 | 4.85 ▼0.15 | 115.50 ▲16.18 | 41.96 ▼3.34 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.03 ▲0.01 | 35.59 ▲1.33 | 34.95 ▼2.11 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.26 ▲0.18 | 645.29 ▼32.14 | 49.26 ▼2.80 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.19 ▼0.09 | 103.03 ▲0.31 | 45.02 ▼0.67 |
Justclick Reg /wp-admin/options-general.php?page=justclick-reg | 803 | 2.03 | 26.16 | 26.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/justclick-reg/justclick-reg.php+79
Trying to access array offset on value of type bool
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=justclick-reg
- > Notice in wp-content/plugins/justclick-reg/justclick-reg.php+101
Trying to access array offset on value of type bool
- > GET request to /wp-admin/options-general.php?page=justclick-reg
- > 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=justclick-reg
- > 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 | 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× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/justclick-reg/justclick-reg.php:248
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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
Please fix the following attributes:
- Requires at least: Version format is invalid
justclick-reg/justclick-reg.php 92% from 13 tests
The main PHP file in "Justclick Reg" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 170 characters long)
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 plugin341 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 32 | 52 | 200 |
PO File | 3 | 30 | 30 | 129 |
CSS | 1 | 4 | 0 | 12 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 2 | 11.11% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin