Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/tea-page-content/tea-page-content.php+90
require_once(wp-content/plugins/tea-page-content/App/Modules/Widget.php): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.70ms] Passed 4 tests
Server-side resources used by Tea Page Content
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.89 ▼3.80 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.30 ▼2.71 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.56 ▼2.62 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 92.06 ▼1.14 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.00 ▼1.68 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 101 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Tea Page Content
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.23 ▼1.15 | 4.89 ▲3.20 | 43.23 ▼1.89 |
Dashboard /wp-admin | 2,203 ▲15 | 5.85 ▼0.05 | 108.70 ▲2.38 | 37.42 ▼6.46 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 1.98 ▼0.07 | 40.65 ▲3.11 | 34.74 ▲3.16 |
Add New Post /wp-admin/post-new.php | 1,537 ▲3 | 23.20 ▼0.10 | 665.73 ▲9.63 | 53.23 ▲1.63 |
Media Library /wp-admin/upload.php | 1,385 ▼0 | 4.19 ▼0.01 | 94.14 ▼5.86 | 48.55 ▲2.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The plugin did not uninstall gracefully
- > Warning in wp-content/plugins/tea-page-content/uninstall.php+7
include(config.map.php): failed to open stream: No such file or directory
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/tea-page-content/templates/client/layouts/waterfall.php
- > /wp-content/plugins/tea-page-content/templates/client/layouts/default.php
- 44× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: count in wp-content/plugins/tea-page-content/templates/client/layouts/waterfall.php on line 11
- > PHP Fatal error
Trait 'TeaPageContent\\App\\Traits\\Predicates\\TemplateVariables' not found in wp-content/plugins/tea-page-content/app/TemplateVariables/Parser.php on line 10
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/tea-page-content/templates/client/modules/widget.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/tea-page-content/templates/admin/modals/page-variables.php:3
- > PHP Warning
Division by zero in wp-content/plugins/tea-page-content/templates/client/layouts/waterfall.php on line 11
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/tea-page-content/templates/client/layouts/waterfall.php on line 24
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/tea-page-content/templates/client/modules/widget.php on line 2
- > PHP Fatal error
Uncaught Error: Call to a member function get_field_id() on null in wp-content/plugins/tea-page-content/templates/admin/modules/widget.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/tea-page-content/templates/client/layouts/bootstrap-4.php:21
- > PHP Fatal error
Trait 'TeaPageContent\\App\\Traits\\Predicates\\Config' not found in wp-content/plugins/tea-page-content/app/Main/Settings.php on line 10
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Requires at least: Version not formatted correctly
tea-page-content/tea-page-content.php 92% from 13 tests
"Tea Page Content" version 1.3.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 150 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin4,799 lines of code in 96 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 89 | 1,150 | 324 | 3,791 |
CSS | 2 | 65 | 10 | 479 |
JavaScript | 3 | 131 | 20 | 363 |
PO File | 1 | 31 | 71 | 93 |
Markdown | 1 | 15 | 0 | 73 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 4.41 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 1.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 19 | |
Interfaces | 1 | |
Traits | 9 | |
Classes | 64 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 64 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 265 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 179 | 67.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 86 | 32.45% |
Functions | 6 | |
▷ Named functions | 3 | 50.00% |
▷ Anonymous functions | 3 | 50.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin