Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- The plugin cannot be installed
- > User error in wp-content/plugins/ticoseo/vendor/composer/platform_check.php+24
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0". You are running 7.4.16.
Server metrics [RAM: ▼1.92MB] [CPU: ▼55.16ms] Passed 4 tests
An overview of server-side resources used by TicoSEO powered by OpenAI
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 4.88 ▼34.56 |
Dashboard /wp-admin | 2.08 ▼1.22 | 5.84 ▼43.12 |
Posts /wp-admin/edit.php | 2.08 ▼1.27 | 6.08 ▼45.75 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.80 | 6.96 ▼97.21 |
Media Library /wp-admin/upload.php | 2.08 ▼1.14 | 5.56 ▼28.73 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 70 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for TicoSEO powered by OpenAI
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲48 | 13.20 ▼1.07 | 1.45 ▼0.25 | 40.53 ▲1.30 |
Dashboard /wp-admin | 2,220 ▲40 | 5.54 ▼0.12 | 85.04 ▼2.45 | 66.40 ▲26.02 |
Posts /wp-admin/edit.php | 2,136 ▲36 | 2.01 ▼0.06 | 37.67 ▲0.74 | 31.71 ▼4.31 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 25.02 ▲2.09 | 614.54 ▼79.47 | 66.26 ▲5.82 |
Media Library /wp-admin/upload.php | 1,420 ▲23 | 4.17 ▼0.02 | 96.67 ▼8.79 | 40.64 ▼4.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The plugin did not uninstall gracefully
- > User error in wp-content/plugins/ticoseo/vendor/composer/platform_check.php+24
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0". You are running 7.4.16.
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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 perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/ticoseo/vendor/micropackage/requirements/tests/bootstrap.php
- 138× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Ticoseo\\Common\\Abstracts\\Base' not found in wp-content/plugins/ticoseo/src/Bootstrap.php:28
- > PHP Fatal error
Uncaught Error: Class 'Ticoseo\\Common\\Abstracts\\Base' not found in wp-content/plugins/ticoseo/src/App/Backend/OpenAI.php:25
- > PHP Fatal error
Uncaught Error: Class 'Micropackage\\Requirements\\Abstracts\\Checker' not found in wp-content/plugins/ticoseo/vendor/micropackage/requirements/src/Checker/Theme.php:16
- > PHP Parse error
syntax error, unexpected 'public' (T_PUBLIC), expecting variable (T_VARIABLE) in wp-content/plugins/ticoseo/vendor/openai-php/client/src/Responses/FineTunes/RetrieveResponseHyperparams.php on line 21
- > PHP Parse error
syntax error, unexpected 'public' (T_PUBLIC), expecting variable (T_VARIABLE) in wp-content/plugins/ticoseo/vendor/openai-php/client/src/Responses/Embeddings/CreateResponseUsage.php on line 10
- > PHP Parse error
syntax error, unexpected 'public' (T_PUBLIC), expecting variable (T_VARIABLE) in wp-content/plugins/ticoseo/vendor/openai-php/client/src/Responses/Edits/CreateResponseChoice.php on line 10
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Client\\ClientExceptionInterface' not found in wp-content/plugins/ticoseo/vendor/psr/http-client/src/NetworkExceptionInterface.php:14
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/ticoseo/vendor/micropackage/requirements/tests/Checker/test-wp.php:17
- > PHP Parse error
syntax error, unexpected 'public' (T_PUBLIC), expecting variable (T_VARIABLE) in wp-content/plugins/ticoseo/vendor/openai-php/client/src/Responses/Images/CreateResponse.php on line 24
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Cookie\\CookieJarInterface' not found in wp-content/plugins/ticoseo/vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php:11
- > 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 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
9 plugin tags: ai posts, chatgpt, ai, programmatic seo, gpt...
ticoseo/ticoseo.php 92% from 13 tests
The entry point to "TicoSEO powered by OpenAI" version 1.0.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Requires PHP: Required version must match the one declared in readme.txt ("8.1" instead of "7.1")
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
Good job! No executable or dangerous file extensions detected48,010 lines of code in 290 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 16 | 0 | 0 | 28,272 |
PHP | 223 | 3,207 | 8,271 | 14,336 |
Markdown | 21 | 1,373 | 0 | 3,877 |
Sass | 5 | 97 | 0 | 594 |
JavaScript | 13 | 61 | 214 | 549 |
XML | 3 | 6 | 18 | 135 |
Bourne Shell | 1 | 21 | 11 | 120 |
YAML | 3 | 7 | 2 | 74 |
PO File | 1 | 9 | 11 | 46 |
SVG | 2 | 0 | 0 | 6 |
CSS | 2 | 1 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 8.69 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 88.00 |
Average method complexity | 2.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 48 | |
Interfaces | 30 | |
Traits | 7 | |
Classes | 165 | |
▷ Abstract classes | 2 | 1.21% |
▷ Concrete classes | 163 | 98.79% |
▷ Final classes | 93 | 57.06% |
Methods | 1,119 | |
▷ Static methods | 202 | 18.05% |
▷ Public methods | 959 | 85.70% |
▷ Protected methods | 7 | 0.63% |
▷ Private methods | 153 | 13.67% |
Functions | 138 | |
▷ Named functions | 36 | 26.09% |
▷ Anonymous functions | 102 | 73.91% |
Constants | 65 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 65 | 100.00% |
▷ Public constants | 54 | 83.08% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/src/images/png-placeholder.png | 0.36KB | 0.34KB | ▼ 5.63% |
assets/public/images/png-placeholder.png | 0.34KB | 0.34KB | 0.00% |