Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼7.06ms] Passed 4 tests
Analyzing server-side resources used by Our Members by WOWProjects
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 36.21 ▼7.76 |
Dashboard /wp-admin | 3.39 ▲0.08 | 53.45 ▼0.87 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 50.35 ▼3.01 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 85.52 ▼16.60 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 39.78 ▲0.45 |
All Members /wp-admin/edit.php?post_type=member | 3.35 | 38.49 |
Add New /wp-admin/post-new.php?post_type=member | 3.46 | 52.01 |
Types of Services /wp-admin/edit-tags.php?taxonomy=types_of_services&post_type=member | 3.30 | 36.50 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Our Members by WOWProjects
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,851 ▲90 | 13.19 ▼1.19 | 4.73 ▲2.99 | 38.32 ▼3.58 |
Dashboard /wp-admin | 2,254 ▲51 | 5.09 ▲0.03 | 103.26 ▼2.22 | 39.48 ▼7.38 |
Posts /wp-admin/edit.php | 2,137 ▲37 | 2.02 ▲0.03 | 42.87 ▲2.94 | 33.48 ▼5.85 |
Add New Post /wp-admin/post-new.php | 1,555 ▲15 | 17.75 ▼0.46 | 681.67 ▼7.69 | 58.16 ▲2.17 |
Media Library /wp-admin/upload.php | 1,434 ▲34 | 4.28 ▲0.09 | 102.39 ▼10.07 | 42.44 ▼9.16 |
All Members /wp-admin/edit.php?post_type=member | 1,107 | 1.93 | 32.68 | 30.82 |
Add New /wp-admin/post-new.php?post_type=member | 2,457 | 7.70 | 168.70 | 65.99 |
Types of Services /wp-admin/edit-tags.php?taxonomy=types_of_services&post_type=member | 1,305 | 2.18 | 27.41 | 31.45 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/our-members-by-wowprojects/classes/class-wowprojects-our-members-taxonomy.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/our-members-by-wowprojects/classes/class-wowprojects-our-members-additional-fields.php:59
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/our-members-by-wowprojects/classes/class-wowprojects-our-members.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/our-members-by-wowprojects/classes/class-wowprojects-our-members.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/our-members-by-wowprojects/includes/single-member.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: widget, organization members, merbership, members, member category...
our-members-by-wowprojects/wowprojects-our-members.php 92% from 13 tests
The main PHP file in "Our Members by WOWProjects" ver. 1.2.0 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("our-members-by-wowprojects.php" instead of "wowprojects-our-members.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected333 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 57 | 103 | 333 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
3 PNG files occupy 0.10MB with 0.05MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.PNG | 43.97KB | 20.67KB | ▼ 52.99% |
assets/screenshot-3.PNG | 30.01KB | 14.88KB | ▼ 50.42% |
assets/screenshot-2.PNG | 29.06KB | 13.08KB | ▼ 54.97% |