Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.13MB] [CPU: ▼11.72ms] 75% from 4 tests
An overview of server-side resources used by Comprar artículos y contenido — Tutopic
Please have a look at the following items
- CPU: Total CPU usage should be kept under 500.00ms (currently 517.94ms on /wp-admin/options-general.php?page=settings-tutopic-screen)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.03 ▲0.57 | 46.07 ▼1.08 |
Dashboard /wp-admin | 3.87 ▲0.57 | 55.59 ▲3.15 |
Posts /wp-admin/edit.php | 3.92 ▲0.57 | 53.96 ▲2.85 |
Add New Post /wp-admin/post-new.php | 3.68 ▼2.21 | 42.39 ▼51.80 |
Media Library /wp-admin/upload.php | 3.79 ▲0.57 | 43.95 ▲11.39 |
Ajustes de TuTopic /wp-admin/options-general.php?page=settings-tutopic-screen | 3.94 | 517.94 |
Server storage [IO: ▲1.69MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 118 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_theysaidso_widget |
association_user |
theysaidso_admin_options |
db_upgraded |
orders_local |
widget_recent-posts |
medias_local |
popalo-notifications |
can_compress_scripts |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Comprar artículos y contenido — Tutopic
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲84 | 14.35 ▲0.17 | 2.00 ▼0.03 | 43.40 ▼2.29 |
Dashboard /wp-admin | 2,251 ▲71 | 5.69 ▲0.04 | 94.09 ▼9.95 | 36.37 ▼6.42 |
Posts /wp-admin/edit.php | 2,160 ▲63 | 2.23 ▲0.28 | 35.81 ▼0.38 | 32.16 ▼2.00 |
Add New Post /wp-admin/post-new.php | 1,584 ▲56 | 18.08 ▼4.86 | 667.42 ▼11.57 | 48.06 ▼6.42 |
Media Library /wp-admin/upload.php | 1,456 ▲62 | 4.49 ▲0.28 | 100.86 ▼2.20 | 37.99 ▼5.78 |
Ajustes de TuTopic /wp-admin/options-general.php?page=settings-tutopic-screen | 1,127 | 1.77 | 29.67 | 53.23 |
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
- Zombie WordPress options were found after uninstall: 11 options
- widget_recent-comments
- association_competences
- theysaidso_admin_options
- widget_theysaidso_widget
- association_user
- medias_local
- widget_recent-posts
- popalo-notifications
- orders_local
- db_upgraded
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 107× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'TuTopicPlugin\\Service\\TuTopic' not found in wp-content/plugins/servicio-de-tutopic/templates/options-page.template.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/servicio-de-tutopic/index.php:37
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/servicio-de-tutopic/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/servicio-de-tutopic/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/servicio-de-tutopic/vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/servicio-de-tutopic/vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/servicio-de-tutopic/vendor/composer/installers/src/Composer/Installers/CraftInstaller.php:7
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/servicio-de-tutopic/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php:6
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/servicio-de-tutopic/vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php:13
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/servicio-de-tutopic/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php:4
- > 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 83% 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
6 plugin tags: redactores para tu blog, comprar contenido, comprar artculos, contenido, contenido profesional...
servicio-de-tutopic/index.php 62% from 13 tests
The entry point to "Comprar artículos y contenido — Tutopic" version 1.18 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 149 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("servicio-de-tutopic.php" instead of "index.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Domain Path: Please prefix the domain path with a forward slash character ("/")
- Domain Path: You should use only dashes and lowercase characters for the domain path ("")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin16,335 lines of code in 206 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 158 | 1,594 | 1,856 | 5,836 |
CSS | 8 | 126 | 137 | 3,630 |
SVG | 1 | 0 | 0 | 2,671 |
Sass | 14 | 34 | 34 | 1,768 |
LESS | 14 | 34 | 44 | 1,758 |
JSON | 3 | 0 | 0 | 274 |
JavaScript | 7 | 115 | 140 | 269 |
Markdown | 1 | 82 | 0 | 129 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 4.55 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 2.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 18 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 141 | |
▷ Abstract classes | 1 | 0.71% |
▷ Concrete classes | 140 | 99.29% |
▷ Final classes | 0 | 0.00% |
Methods | 276 | |
▷ Static methods | 122 | 44.20% |
▷ Public methods | 239 | 86.59% |
▷ Protected methods | 31 | 11.23% |
▷ Private methods | 6 | 2.17% |
Functions | 14 | |
▷ Named functions | 6 | 42.86% |
▷ Anonymous functions | 8 | 57.14% |
Constants | 10 | |
▷ Global constants | 4 | 40.00% |
▷ Class constants | 6 | 60.00% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
9 PNG files occupy 0.12MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/transparencia-superior-girada.png | 33.25KB | 14.61KB | ▼ 56.08% |
assets/icons/config.png | 3.99KB | 1.59KB | ▼ 60.18% |
assets/icons/inbox.png | 3.67KB | 0.92KB | ▼ 74.93% |
assets/icons/go-to.png | 3.86KB | 1.41KB | ▼ 63.37% |
assets/images/bg-naranja-modal.png | 6.71KB | 3.19KB | ▼ 52.56% |