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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.23MB] [CPU: ▼0.98ms] Passed 4 tests
Server-side resources used by LTI Sitemap
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 40.74 ▼2.33 |
Dashboard /wp-admin | 3.53 ▲0.22 | 50.09 ▼0.21 |
Posts /wp-admin/edit.php | 3.64 ▲0.29 | 49.34 ▼3.85 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 96.99 ▲3.19 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 38.80 ▲2.46 |
Server storage [IO: ▲0.86MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 175 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
lti_sitemap_options |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
LTI Sitemap: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲53 | 13.64 ▼1.01 | 1.78 ▼0.17 | 38.11 ▼9.43 |
Dashboard /wp-admin | 2,224 ▲36 | 5.84 ▲0.93 | 121.76 ▲17.21 | 39.35 ▼3.15 |
Posts /wp-admin/edit.php | 2,116 ▲30 | 2.06 ▲0.01 | 56.23 ▲16.50 | 31.74 ▼5.84 |
Add New Post /wp-admin/post-new.php | 1,531 ▲10 | 17.66 ▼5.47 | 674.06 ▲0.25 | 57.90 ▲1.66 |
Media Library /wp-admin/upload.php | 1,409 ▲24 | 4.23 ▲0.01 | 125.36 ▲19.22 | 43.84 ▼2.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 49× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Locale' not found in wp-content/plugins/lti-sitemap/vendor/symfony/intl/Locale.php:21
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\Intl\\Data\\Bundle\\Reader\\BundleReaderInterface' not found in wp-content/plugins/lti-sitemap/vendor/symfony/intl/Data/Bundle/Reader/IntlBundleReader.php:24
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/lti-sitemap/vendor/lti/google/src/Google/../autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/lti-sitemap/vendor/lti/google/src/Google/Collection.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Intl\\Data\\Generator\\AbstractDataGenerator' not found in wp-content/plugins/lti-sitemap/vendor/symfony/intl/Data/Generator/ScriptDataGenerator.php:25
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\Intl\\Data\\Bundle\\Reader\\BundleEntryReaderInterface' not found in wp-content/plugins/lti-sitemap/vendor/symfony/intl/Data/Bundle/Reader/BundleEntryReader.php:29
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Intl\umberFormatter\umberFormatter' not found in wp-content/plugins/lti-sitemap/vendor/symfony/intl/Resources/stubs/NumberFormatter.php:21
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\Intl\\Exception\\ExceptionInterface' not found in wp-content/plugins/lti-sitemap/vendor/symfony/intl/Exception/RuntimeException.php:19
- > PHP Fatal error
Uncaught Error: Class 'Google_Service_Webmasters' not found in wp-content/plugins/lti-sitemap/vendor/lti/google/src/Lti/webmaster.php:139
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/lti-sitemap/src/admin/partials/postbox.php:12
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Intl\\Data\\Generator\\AbstractDataGenerator' not found in wp-content/plugins/lti-sitemap/vendor/symfony/intl/Data/Generator/CurrencyDataGenerator.php:26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: There are too many tags (17 tag instead of maximum 10)
- Requires at least: Version not formatted correctly
lti-sitemap/lti-sitemap.php Passed 13 tests
The principal PHP file in "LTI Sitemap" v. 0.5.1 is loaded by WordPress automatically on each request
85 characters long description:
Hassle free XML Sitemaps: pick your featured content, let search engines do the rest!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin12,904 lines of code in 159 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 152 | 2,363 | 6,834 | 11,295 |
JSON | 3 | 0 | 0 | 1,302 |
XSLT | 2 | 38 | 0 | 305 |
CSS | 1 | 0 | 0 | 1 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 6.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 2.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 20 | |
Interfaces | 13 | |
Traits | 0 | |
Classes | 171 | |
▷ Abstract classes | 12 | 7.02% |
▷ Concrete classes | 159 | 92.98% |
▷ Final classes | 2 | 1.26% |
Methods | 935 | |
▷ Static methods | 77 | 8.24% |
▷ Public methods | 806 | 86.20% |
▷ Protected methods | 56 | 5.99% |
▷ Private methods | 73 | 7.81% |
Functions | 22 | |
▷ Named functions | 17 | 77.27% |
▷ Anonymous functions | 5 | 22.73% |
Constants | 122 | |
▷ Global constants | 5 | 4.10% |
▷ Class constants | 117 | 95.90% |
▷ Public constants | 117 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin