Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/taketin-to-wp-membership/taketin-to-wp-membership.php+17
date_default_timezone_set(): Timezone ID '' is invalid
Server metrics [RAM: ▼1.96MB] [CPU: ▼53.25ms] Passed 4 tests
A check of server-side resources used by TAKETIN To WP Membership
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 4.84 ▼35.40 |
Dashboard /wp-admin | 2.05 ▼1.26 | 5.24 ▼44.26 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.65 ▼39.20 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.20 ▼94.13 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.72 ▼26.81 |
設定 /wp-admin/admin.php?page=taketin_mp_membership_settings | 2.05 | 4.98 |
会員レベル /wp-admin/admin.php?page=taketin_mp_membership_levels | 2.05 | 6.62 |
会員 /wp-admin/admin.php?page=taketin_mp_membership | 2.05 | 5.00 |
限定コンテンツ /wp-admin/admin.php?page=taketin_mp_membership_categroy | 2.05 | 5.63 |
Server storage [IO: ▲0.38MB] [DB: ▲0.08MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 46 new files
Database: 4 new tables, 8 new options
New tables |
---|
wp_tmp_memberships |
wp_tmp_members |
wp_tmp_memberships_categories |
wp_tmp_memberships_tickets |
New WordPress options |
---|
tmp-db-version |
theysaidso_admin_options |
widget_recent-comments |
tmp-settings |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for TAKETIN To WP Membership
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲98 | 13.58 ▼1.17 | 1.65 ▲0.02 | 42.47 ▼0.58 |
Dashboard /wp-admin | 2,234 ▲49 | 4.86 ▼1.05 | 106.72 ▲3.00 | 48.00 ▲4.93 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 1.99 ▼0.04 | 40.65 ▲6.13 | 43.78 ▲8.76 |
Add New Post /wp-admin/post-new.php | 1,539 ▼3 | 18.13 ▼0.18 | 594.56 ▼13.23 | 62.32 ▲12.08 |
Media Library /wp-admin/upload.php | 1,419 ▲34 | 4.21 ▼0.07 | 95.48 ▲0.50 | 47.78 ▲4.42 |
設定 /wp-admin/admin.php?page=taketin_mp_membership_settings | 1,243 | 2.93 | 43.34 | 116.94 |
会員レベル /wp-admin/admin.php?page=taketin_mp_membership_levels | 1,227 | 3.04 | 48.95 | 60.05 |
会員 /wp-admin/admin.php?page=taketin_mp_membership | 1,227 | 2.90 | 40.68 | 62.98 |
限定コンテンツ /wp-admin/admin.php?page=taketin_mp_membership_categroy | 1,224 | 3.03 | 42.34 | 59.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/taketin-to-wp-membership/taketin-to-wp-membership.php+17
date_default_timezone_set(): Timezone ID '' is invalid
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=taketin_mp_membership_categroy
- > Notice in wp-content/plugins/taketin-to-wp-membership/taketin-to-wp-membership.php+17
date_default_timezone_set(): Timezone ID '' is invalid
SRP 0% 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
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/taketin-to-wp-membership/taketin-to-wp-membership.php
- 9× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/taketin-to-wp-membership/classes/taketin-mp-membership-levels.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/taketin-to-wp-membership/classes/taketin-mp-category-list.php on line 3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/taketin-to-wp-membership/classes/taketin-mp-category-list.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/taketin-to-wp-membership/classes/taketin-mp-membership-levels.php on line 3
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/taketin-to-wp-membership/classes/taketin-mp-membership-levels.php on line 3
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/taketin-to-wp-membership/classes/taketin-mp-category-list.php on line 3
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/taketin-to-wp-membership/classes/taketin-mp-members.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/taketin-to-wp-membership/classes/taketin-mp-members.php on line 3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/taketin-to-wp-membership/classes/taketin-mp-members.php on line 3
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Donate link: Invalid URI found ("")
taketin-to-wp-membership/taketin-to-wp-membership.php Passed 13 tests
The entry point to "TAKETIN To WP Membership" version 2.7.5 is a PHP file that has certain tags in its header comment area
113 characters long description:
TAKETIN Marketing Platformと連携したメンバーサイトをWordpressで作成するプラグインです。
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin6,646 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 35 | 706 | 749 | 5,028 |
PO File | 2 | 485 | 653 | 1,116 |
JavaScript | 4 | 33 | 109 | 418 |
CSS | 2 | 3 | 0 | 84 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 35.24 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 198.00 |
Average method complexity | 3.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 61.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 2 | 9.52% |
▷ Concrete classes | 19 | 90.48% |
▷ Final classes | 0 | 0.00% |
Methods | 271 | |
▷ Static methods | 34 | 12.55% |
▷ Public methods | 213 | 78.60% |
▷ Protected methods | 32 | 11.81% |
▷ Private methods | 26 | 9.59% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 20 | |
▷ Global constants | 19 | 95.00% |
▷ Class constants | 1 | 5.00% |
▷ Public constants | 1 | 100.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
There are no PNG files in this plugin