Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼11.13ms] Passed 4 tests
This is a short check of server-side resources used by Child Pages Tabs
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.51 ▼6.47 |
Dashboard /wp-admin | 3.32 ▼0.02 | 43.35 ▼19.96 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 41.42 ▼1.86 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 86.74 ▼16.22 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.03 ▲0.63 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Child Pages Tabs
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.64 ▲0.36 | 1.74 ▲0.09 | 39.87 ▼1.18 |
Dashboard /wp-admin | 2,198 ▲18 | 5.59 ▼0.03 | 84.60 ▼5.09 | 36.58 ▼1.53 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.03 ▲0.01 | 35.87 ▼3.15 | 29.38 ▼7.45 |
Add New Post /wp-admin/post-new.php | 1,528 ▼0 | 23.05 ▲0.34 | 604.06 ▲9.44 | 73.86 ▲7.81 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.19 ▼0.09 | 93.45 ▼6.55 | 40.17 ▼4.52 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- 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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/child-pages-tabs/classes/class-child-pages-tabs-shortcode.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2 in child-pages-tabs/assets to your readme.txt
child-pages-tabs/child-pages-tabs.php Passed 13 tests
The primary PHP file in "Child Pages Tabs" version 1.0.0 is used by WordPress to initiate all plugin functionality
96 characters long description:
Add all the child pages Title and Content in the tabs layout to the parent page usign shortcode.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin175 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 36 | 54 | 107 |
CSS | 1 | 4 | 2 | 65 |
JavaScript | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 3.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 1 | 20.00% |
▷ Public methods | 4 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 20.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
PNG images were not found in this plugin