Benchmarks
Plugin footprint 83% 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.02MB] [CPU: ▼5.73ms] Passed 4 tests
Analyzing server-side resources used by Quick Add Child
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.66 ▼1.03 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.61 ▲0.18 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 43.10 ▼7.25 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 85.01 ▼14.81 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.44 ▲0.49 |
Quick Add Child /wp-admin/options-general.php?page=quick-add-child | 3.24 | 29.60 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
quick-add-child |
db_upgraded |
widget_theysaidso_widget |
qac-display-activation-message |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Quick Add Child
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.21 ▼1.57 | 1.72 ▼0.12 | 42.11 ▲0.49 |
Dashboard /wp-admin | 2,213 ▲25 | 5.86 ▼0.03 | 103.78 ▲1.93 | 38.19 ▼3.39 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.18 ▲0.18 | 35.57 ▼5.63 | 34.28 ▼1.08 |
Add New Post /wp-admin/post-new.php | 1,517 ▼17 | 17.85 ▼5.41 | 663.99 ▲39.23 | 61.81 ▲13.40 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.20 ▼0.03 | 93.29 ▼12.63 | 41.04 ▼4.48 |
Quick Add Child /wp-admin/options-general.php?page=quick-add-child | 782 | 2.03 | 30.96 | 33.24 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
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
Good news, no errors were detected
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
The following issues need your attention
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/quick-add-child/admin/views/admin.php:18
- > PHP Fatal error
Uncaught Error: Class 'Quick_Add_Child' not found in wp-content/plugins/quick-add-child/admin/includes/settings.php:34
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
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
3 plugin tags: cpt, child post, pages
quick-add-child/quick-add-child.php Passed 13 tests
The main PHP file in "Quick Add Child" ver. 0.7.0 adds more information about the plugin and also serves as the entry point for this plugin
62 characters long description:
Add child posts right from a hierarchical post editing screen.
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
No dangerous file extensions were detected353 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 163 | 344 | 297 |
PO File | 1 | 10 | 10 | 44 |
JavaScript | 1 | 5 | 0 | 12 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 10.67 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 25 | |
▷ Static methods | 8 | 32.00% |
▷ Public methods | 19 | 76.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 24.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin