Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.14MB] [CPU: ▼2.15ms] Passed 4 tests
A check of server-side resources used by Family Wiki
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 39.11 ▼4.24 |
Dashboard /wp-admin | 3.43 ▲0.13 | 48.70 ▲1.88 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 50.18 ▼3.15 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 93.77 ▲5.20 |
Media Library /wp-admin/upload.php | 3.35 ▲0.13 | 34.88 ▼3.07 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Family Wiki: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.71 ▼0.67 | 1.72 ▲0.03 | 41.14 ▼2.28 |
Dashboard /wp-admin | 2,206 ▲15 | 4.87 ▼0.02 | 102.63 ▲1.71 | 41.13 ▼2.57 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.06 ▲0.03 | 40.03 ▼0.69 | 34.70 ▼1.49 |
Add New Post /wp-admin/post-new.php | 6,189 ▲4,655 | 21.83 ▼1.39 | 856.47 ▲258.21 | 76.95 ▲24.43 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.19 ▼0.02 | 94.44 ▼6.77 | 40.84 ▼5.69 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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 take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function Family_Wiki\\add_action() in wp-content/plugins/family-wiki/class-calendar.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
2 plugin tags: family, wiki
family-wiki/family-wiki.php Passed 13 tests
The main PHP script in "Family Wiki" version 1.0.0 is automatically included on every request by WordPress
55 characters long description:
Keep your family history in a wiki hosted on WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected499 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 73 | 23 | 471 |
JavaScript | 2 | 0 | 0 | 28 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 21.75 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 4.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 91.30% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 8.70% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.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 were not PNG files found in your plugin