Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.71MB] [CPU: ▼4.93ms] Passed 4 tests
An overview of server-side resources used by LTI SEO
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.28 ▲0.82 | 56.51 ▲15.27 |
Dashboard /wp-admin | 4.02 ▲0.67 | 58.92 ▼11.75 |
Posts /wp-admin/edit.php | 4.07 ▲0.71 | 51.86 ▲0.76 |
Add New Post /wp-admin/post-new.php | 6.62 ▲0.73 | 100.47 ▼13.96 |
Media Library /wp-admin/upload.php | 3.94 ▲0.71 | 44.25 ▲5.24 |
Server storage [IO: ▲0.71MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 122 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
lti_seo_options |
Browser metrics Passed 4 tests
Checking browser requirements for LTI SEO
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲56 | 14.20 ▼0.52 | 1.84 ▲0.17 | 41.86 ▲2.70 |
Dashboard /wp-admin | 2,216 ▲45 | 5.65 ▼0.04 | 109.87 ▲20.12 | 39.36 ▼2.41 |
Posts /wp-admin/edit.php | 2,124 ▲24 | 2.00 ▲0.04 | 68.15 ▲30.21 | 34.05 ▼1.11 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.20 ▼0.50 | 675.71 ▲14.26 | 56.30 ▼0.52 |
Media Library /wp-admin/upload.php | 1,418 ▲18 | 4.12 ▼0.09 | 123.41 ▲15.42 | 42.53 ▼4.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 26× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Lti\\Seo\\Generators\\GenericMetaTag' not found in wp-content/plugins/lti-seo/src/frontend/generators/twitter_cards.php:11
- > PHP Warning
require_once(wp-content/plugins/lti-seo/vendor/lti/google/src/Google/../autoload.php): failed to open stream: No such file or directory in wp-content/plugins/lti-seo/vendor/lti/google/src/Google/Collection.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'Lti\\Seo\\Generators\\GenericMetaTag' not found in wp-content/plugins/lti-seo/src/generators/open_graph.php:9
- > PHP Fatal error
Uncaught Error: Class 'Lti\\Seo\\Generators\\GenericMetaTag' not found in wp-content/plugins/lti-seo/src/generators/link_rel.php:3
- > PHP Fatal error
Uncaught Error: Class 'Lti\\Seo\\Generators\\GenericMetaTag' not found in wp-content/plugins/lti-seo/src/frontend/generators/keywords.php:9
- > PHP Fatal error
Uncaught Error: Class 'Lti\\Seo\\Generators\\GenericMetaTag' not found in wp-content/plugins/lti-seo/src/generators/keywords.php:9
- > PHP Fatal error
Uncaught Error: Class 'Lti\\Seo\\Generators\\Article' not found in wp-content/plugins/lti-seo/src/frontend/generators/schema_org.php:17
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/lti-seo/vendor/lti/google/src/Google/../autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/lti-seo/vendor/lti/google/src/Google/Collection.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'Lti\\Seo\\Helpers\\Wordpress_Helper' not found in wp-content/plugins/lti-seo/src/helpers/lti_seo_helper.php:10
- > PHP Fatal error
Uncaught Error: Class 'Google_Service_Webmasters' not found in wp-content/plugins/lti-seo/vendor/lti/google/src/Lti/webmaster.php:139
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 21 tag instead of maximum 10
- Requires at least: Invalid version format
- Screenshots: Screenshot #6 (Meta box in the post editing page.) image missing
lti-seo/lti-seo.php Passed 13 tests
The entry point to "LTI SEO" version 0.6.0 is a PHP file that has certain tags in its header comment area
94 characters long description:
Search engine optimization made easy: make your content more visible in search engine results.
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 detected10,651 lines of code in 99 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 96 | 1,922 | 4,305 | 10,559 |
JSON | 1 | 0 | 0 | 90 |
CSS | 1 | 0 | 0 | 1 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a very shot review 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.35 |
Average class complexity | 6.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 164.00 |
Average method complexity | 2.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 8 | |
Traits | 0 | |
Classes | 233 | |
▷ Abstract classes | 11 | 4.72% |
▷ Concrete classes | 222 | 95.28% |
▷ Final classes | 0 | 0.00% |
Methods | 829 | |
▷ Static methods | 26 | 3.14% |
▷ Public methods | 752 | 90.71% |
▷ Protected methods | 25 | 3.02% |
▷ Private methods | 52 | 6.27% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 54 | |
▷ Global constants | 5 | 9.26% |
▷ Class constants | 49 | 90.74% |
▷ Public constants | 49 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected