Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.49ms] Passed 4 tests
Analyzing server-side resources used by Ada2go - Text Modules
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 42.62 ▼2.71 |
Dashboard /wp-admin | 3.34 ▲0.03 | 48.15 ▲0.19 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 52.65 ▼0.75 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 87.57 ▼10.70 |
Media Library /wp-admin/upload.php | 3.27 ▲0.03 | 34.93 ▲1.08 |
Text Modules /wp-admin/options-general.php?page=a2g_tm_settings | 3.34 | 31.46 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_a2g_tm_text |
wp_a2g_tm_kategorie |
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
a2g_tm_output_css |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Ada2go - Text Modules
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲98 | 13.23 ▼1.07 | 1.94 ▼0.10 | 43.13 ▲5.09 |
Dashboard /wp-admin | 2,209 ▲27 | 5.86 ▼0.01 | 101.03 ▼4.36 | 38.97 ▼5.50 |
Posts /wp-admin/edit.php | 2,098 ▲12 | 2.04 ▲0.01 | 39.22 ▲1.72 | 34.36 ▲1.14 |
Add New Post /wp-admin/post-new.php | 1,542 ▲9 | 18.75 ▼2.47 | 635.34 ▼16.01 | 62.28 ▼3.38 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.28 ▲0.06 | 98.78 ▼4.66 | 42.17 ▼1.80 |
Text Modules /wp-admin/options-general.php?page=a2g_tm_settings | 2,300 | 10.18 | 251.72 | 68.06 |
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
These items require your attention
- The plugin did not uninstall successfully, leaving 2 tables in the database
- wp_a2g_tm_kategorie
- wp_a2g_tm_text
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- a2g_tm_output_css
- db_upgraded
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/ada2go-text-modules/ada2go-text-modules.php
- 8× PHP files trigger server errors when accessed directly:
- > 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 58
- > 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 5
- > PHP Notice
Undefined index: action in wp-content/plugins/ada2go-text-modules/settings_page.php on line 86
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ada2go-text-modules/a2g_tm_result.php:4
- > PHP Notice
Undefined index: action in wp-content/plugins/ada2go-text-modules/settings_page.php on line 32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: modules, modul, generator, shortcode, text
ada2go-text-modules/ada2go-text-modules.php 92% from 13 tests
The entry point to "Ada2go - Text Modules" version 1.7 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 171 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected579 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 short overview of logical lines of code, cyclomatic complexity, and other code metrics
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin