Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.38MB] [CPU: ▼262.93ms] Passed 4 tests
Analyzing server-side resources used by Template Builder for SiteOrigin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.96 ▲0.24 | 39.10 ▲18.37 |
Dashboard /wp-admin | 3.57 ▲0.51 | 49.25 ▲3.50 |
Posts /wp-admin/edit.php | 3.58 ▲0.47 | 46.62 ▲4.51 |
Add New Post /wp-admin/post-new.php | 5.83 ▲0.40 | 98.53 ▼1,056.39 |
Media Library /wp-admin/upload.php | 3.41 ▲0.40 | 36.50 ▼3.34 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 3.57 | 31.77 |
Server storage [IO: ▲0.74MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 127 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Template Builder for SiteOrigin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,711 ▲105 | 16.22 ▲0.41 | 7.72 ▼2.33 | 49.26 ▲6.15 |
Dashboard /wp-admin | 2,995 ▲146 | 6.02 ▲0.02 | 135.18 ▼2.89 | 105.11 ▲1.85 |
Posts /wp-admin/edit.php | 2,776 ▲70 | 2.74 ▲0.06 | 64.09 ▼2.83 | 104.26 ▲11.03 |
Add New Post /wp-admin/post-new.php | 1,901 ▲19 | 17.45 ▼1.76 | 375.82 ▲1.41 | 118.13 ▼0.33 |
Media Library /wp-admin/upload.php | 1,848 ▲76 | 5.05 ▲0.05 | 136.90 ▼10.85 | 121.46 ▲8.49 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 1,358 | 2.47 | 66.00 | 88.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled completely, with no zombie files or tables
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 113× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses_post() in wp-content/plugins/acf-template-tags-for-siteorigin/widgets/func/func-the_category/tpl/tpl.php:20
- > PHP Fatal error
Uncaught Error: Class 'SiteOrigin_Widget' not found in wp-content/plugins/acf-template-tags-for-siteorigin/widgets/func/func-the_post_thumbnail/func-the_post_thumbnail.php:9
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/acf-template-tags-for-siteorigin/widgets/acf/acf-text/tpl/tpl.php on line 5
- > PHP Fatal error
Uncaught Error: Class 'SiteOrigin_Widget' not found in wp-content/plugins/acf-template-tags-for-siteorigin/widgets/func/func-the_archive_description/func-the_archive_description.php:10
- > PHP Fatal error
Uncaught Error: Class 'SiteOrigin_Widget' not found in wp-content/plugins/acf-template-tags-for-siteorigin/widgets/func/func-the_posts_pagination/func-the_posts_pagination.php:9
- > PHP Fatal error
Uncaught Error: Call to a member function get_acf_field_object() on null in wp-content/plugins/acf-template-tags-for-siteorigin/widgets/acf/acf-email/tpl/tpl.php:12
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/acf-template-tags-for-siteorigin/widgets/eso/eso-loop-layout/tpl/tpl.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function the_archive_description() in wp-content/plugins/acf-template-tags-for-siteorigin/widgets/func/func-the_archive_description/tpl/tpl.php:2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/acf-template-tags-for-siteorigin/widgets/func/func-the_excerpt/tpl/tpl.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/acf-template-tags-for-siteorigin/inc/settings.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Requires php: Invalid version format
acf-template-tags-for-siteorigin/acf-template-tags-for-siteorigin.php Passed 13 tests
The main PHP script in "Template Builder for SiteOrigin" version 1.0.3 is automatically included on every request by WordPress
39 characters long description:
Build your themes templates SiteOrigin.
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
Everything looks great! No dangerous files found in this plugin10,715 lines of code in 108 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 89 | 1,530 | 1,962 | 5,746 |
PO File | 17 | 1,449 | 1,993 | 4,842 |
JSON | 1 | 0 | 0 | 105 |
JavaScript | 1 | 5 | 0 | 22 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 8.76 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 2.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 45 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 45 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 293 | |
▷ Static methods | 5 | 1.71% |
▷ Public methods | 270 | 92.15% |
▷ Protected methods | 23 | 7.85% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 3 | 27.27% |
▷ Anonymous functions | 8 | 72.73% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
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