Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▲4.65ms] Passed 4 tests
This is a short check of server-side resources used by pymSEO
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 35.05 ▼6.54 |
Dashboard /wp-admin | 3.49 ▲0.19 | 61.97 ▲8.37 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 61.22 ▲14.75 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 93.79 ▲2.02 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 51.62 ▲16.04 |
Server storage [IO: ▲0.54MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 127 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
pymSEO: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲50 | 14.26 ▼0.22 | 1.92 ▲0.13 | 37.48 ▼4.32 |
Dashboard /wp-admin | 2,205 ▲31 | 5.51 ▼0.03 | 86.30 ▼11.94 | 69.21 ▲26.61 |
Posts /wp-admin/edit.php | 2,122 ▲22 | 1.97 ▲0.00 | 35.30 ▲0.38 | 36.49 ▲0.81 |
Add New Post /wp-admin/post-new.php | 1,542 ▲16 | 23.74 ▲0.63 | 761.72 ▲42.27 | 53.13 ▼7.70 |
Media Library /wp-admin/upload.php | 1,422 ▲22 | 4.20 ▲0.06 | 111.65 ▲4.14 | 77.38 ▲26.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 261× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
include(): Failed opening 'ABSPATHwp-includes/pluggable.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/pymseo/includes/pagina_opciones_ux.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/pymseo/includes/funciones_en_pruebas.php:3
- > PHP Fatal error
Uncaught Error: Interface 'Minify_CacheInterface' not found in wp-content/plugins/pymseo/includes/plugins/minify/lib/Minify/Cache/APC.php:17
- > PHP Fatal error
Uncaught Error: Class 'Minify_Controller_Base' not found in wp-content/plugins/pymseo/includes/plugins/minify/lib/Minify/Controller/Files.php:31
- > PHP Warning
array_push() expects parameter 1 to be array, null given in wp-content/plugins/pymseo/includes/lib/enable_cache_expires.php on line 73
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/pymseo/includes/pagina_opciones_crawl_budget.php on line 3
- > PHP Warning
array_push() expects parameter 1 to be array, null given in wp-content/plugins/pymseo/includes/lib/enable_cache_expires.php on line 110
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pymseo/includes/lib/enable_cookie_consent.php:31
- > PHP Warning
array_push() expects parameter 1 to be array, null given in wp-content/plugins/pymseo/includes/lib/enable_cache_expires.php on line 144
- > PHP Warning
array_push() expects parameter 1 to be array, null given in wp-content/plugins/pymseo/includes/lib/block_file_config.php on line 7
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: Please delete some tags, you are using 49 tag instead of maximum 10
pymseo/pymseo.php Passed 13 tests
The primary PHP file in "pymSEO" version 1.3.6 is used by WordPress to initiate all plugin functionality
85 characters long description:
pymSEO is a collection of functions that solve the most common problems of WordPress.
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
Good job! No executable or dangerous file extensions detected7,793 lines of code in 120 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 108 | 1,312 | 4,029 | 6,147 |
JavaScript | 9 | 363 | 51 | 1,620 |
CSS | 2 | 0 | 0 | 25 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 13.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 88.00 |
Average method complexity | 3.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 50 | |
▷ Abstract classes | 1 | 2.00% |
▷ Concrete classes | 49 | 98.00% |
▷ Final classes | 0 | 0.00% |
Methods | 271 | |
▷ Static methods | 43 | 15.87% |
▷ Public methods | 189 | 69.74% |
▷ Protected methods | 48 | 17.71% |
▷ Private methods | 34 | 12.55% |
Functions | 100 | |
▷ Named functions | 83 | 83.00% |
▷ Anonymous functions | 17 | 17.00% |
Constants | 13 | |
▷ Global constants | 1 | 7.69% |
▷ Class constants | 12 | 92.31% |
▷ Public constants | 12 | 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