Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼291.23ms] Passed 4 tests
Analyzing server-side resources used by Ada2go - Text Modules
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.07 | 63.03 ▲7.47 |
Dashboard /wp-admin | 3.44 ▲0.04 | 38.99 ▼1.52 |
Posts /wp-admin/edit.php | 3.68 ▲0.04 | 59.52 ▲16.10 |
Add New Post /wp-admin/post-new.php | 6.92 ▼0.05 | 100.08 ▼1,169.89 |
Media Library /wp-admin/upload.php | 3.33 ▲0.03 | 31.01 ▼0.98 |
Text Modules /wp-admin/options-general.php?page=a2g_tm_settings | 3.41 | 27.05 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 8 new files
Database: 2 new tables, 1 new option
New tables |
---|
wp_a2g_tm_text |
wp_a2g_tm_kategorie |
New WordPress options |
---|
a2g_tm_output_css |
Browser metrics Passed 4 tests
A check of browser resources used by Ada2go - Text Modules
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,772 ▲28 | 15.93 ▼0.08 | 5.76 ▼0.37 | 2.35 ▼0.05 |
Dashboard /wp-admin | 2,899 ▲38 | 6.16 ▲0.07 | 126.33 ▼8.63 | 160.54 ▼5.39 |
Posts /wp-admin/edit.php | 2,695 ▲1 | 3.24 ▲0.01 | 64.59 ▼0.97 | 141.13 ▼3.26 |
Add New Post /wp-admin/post-new.php | 1,673 ▲15 | 18.17 ▼2.18 | 390.12 ▼11.18 | 164.02 ▲7.45 |
Media Library /wp-admin/upload.php | 1,708 ▲10 | 5.54 ▲0.05 | 133.24 ▼16.48 | 192.20 ▼0.84 |
Text Modules /wp-admin/options-general.php?page=a2g_tm_settings | 2,851 | 12.29 | 208.03 | 170.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_a2g_tm_text
- wp_a2g_tm_kategorie
- This plugin did not uninstall successfully, leaving 1 option in the database
- a2g_tm_output_css
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 9 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=a2g_tm_settings
- > Notice in wp-content/plugins/ada2go-text-modules/settings_page.php+200
Undefined index: action
- > GET request to /wp-admin/options-general.php?page=a2g_tm_settings
- > Notice in wp-content/plugins/ada2go-text-modules/settings_page.php+157
Undefined variable: a2g_out_kat
- > GET request to /wp-admin/options-general.php?page=a2g_tm_settings
- > Notice in wp-content/plugins/ada2go-text-modules/ada2go-text-modules.php+277
Undefined variable: a2g_built_category_table
- > GET request to /wp-admin/options-general.php?page=a2g_tm_settings
- > Notice in wp-content/plugins/ada2go-text-modules/ada2go-text-modules.php+300
Undefined variable: a2g_built_text_table
SRP 0% 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
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/ada2go-text-modules/ada2go-text-modules.php
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined index: action in wp-content/plugins/ada2go-text-modules/settings_page.php on line 58
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ada2go-text-modules/a2g_tm_result.php:4
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/ada2go-text-modules/settings_page.php:155
- > PHP Notice
Undefined index: action in wp-content/plugins/ada2go-text-modules/settings_page.php on line 98
- > PHP Notice
Undefined index: action in wp-content/plugins/ada2go-text-modules/settings_page.php on line 32
- > PHP Notice
Undefined index: action in wp-content/plugins/ada2go-text-modules/settings_page.php on line 5
- > PHP Notice
Undefined index: action in wp-content/plugins/ada2go-text-modules/settings_page.php on line 68
- > PHP Notice
Undefined index: action in wp-content/plugins/ada2go-text-modules/settings_page.php on line 86
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: modules, shortcode, text, modul, generator
ada2go-text-modules/ada2go-text-modules.php 92% from 13 tests
The main PHP file in "Ada2go - Text Modules" ver. 1.7 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 171 characters long)
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
There were no executable files found in this plugin579 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 111 | 120 | 531 |
CSS | 1 | 11 | 5 | 48 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin