Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.13MB] [CPU: ▼6.00ms] Passed 4 tests
This is a short check of server-side resources used by Temple - Web3 Memberships
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 41.70 ▼2.39 |
Dashboard /wp-admin | 3.44 ▲0.09 | 49.10 ▼18.10 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 49.99 ▲2.82 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 101.76 ▼3.97 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 38.65 ▲0.45 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Temple - Web3 Memberships
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.24 ▼0.32 | 1.74 ▲0.01 | 43.79 ▲2.48 |
Dashboard /wp-admin | 2,208 ▲34 | 5.52 ▼0.15 | 88.81 ▲2.46 | 41.25 ▼4.52 |
Posts /wp-admin/edit.php | 2,116 ▲13 | 1.98 ▼0.05 | 34.66 ▲0.82 | 33.52 ▼7.06 |
Add New Post /wp-admin/post-new.php | 6,196 ▲4,670 | 23.47 ▲0.35 | 920.73 ▲225.46 | 55.96 ▲2.43 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.19 ▲0.00 | 111.49 ▲0.67 | 50.29 ▲5.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
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
Even though everything seems fine, this is not 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
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Inc\\BaseController' not found in wp-content/plugins/temple-lock/includes/Admin/Settings.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/temple-lock/templates/admin/temple.php:3
- > PHP Fatal error
Uncaught Error: Class 'Inc\\BaseController' not found in wp-content/plugins/temple-lock/includes/Admin/AdminCallback.php:11
- > PHP Fatal error
Uncaught Error: Class 'Inc\\BaseController' not found in wp-content/plugins/temple-lock/includes/ContentLock.php:20
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3 in temple-lock/assets to your readme.txt
temple-lock/temple-lock.php 92% from 13 tests
This is the main PHP file of "Temple - Web3 Memberships" version 1.2.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Git Repository: There should be no Git repositories present in your plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin1,005 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 214 | 437 | 979 |
JSON | 2 | 0 | 0 | 26 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 15.10 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 1 | 10.00% |
Methods | 71 | |
▷ Static methods | 21 | 29.58% |
▷ Public methods | 68 | 95.77% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 4.23% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
No PNG images were found in this plugin