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.00MB] [CPU: ▼2.67ms] Passed 4 tests
A check of server-side resources used by Concursos TAP
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 42.27 ▼1.79 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.31 ▼4.59 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.45 ▼1.91 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 97.61 ▲2.33 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.92 ▼2.40 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 29 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
concursos_tap_concursos |
db_upgraded |
concursos_tap_remote_info |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Concursos TAP
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.38 ▲0.01 | 1.90 ▲0.10 | 43.84 ▼1.24 |
Dashboard /wp-admin | 2,195 ▲18 | 5.65 ▲0.01 | 84.70 ▼14.18 | 39.88 ▼2.07 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.04 ▲0.03 | 38.87 ▲0.41 | 32.12 ▼1.80 |
Add New Post /wp-admin/post-new.php | 1,550 ▲5 | 23.09 ▼0.08 | 673.65 ▼26.97 | 55.02 ▲4.94 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.26 ▲0.02 | 101.45 ▲0.18 | 43.87 ▼3.47 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- concursos_tap_remote_info
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- concursos_tap_concursos
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests 50% 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 0% 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
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/concursos-tap/public/views/public.php
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/concursos-tap/includes/class-widget-concursos.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/concursos-tap/admin/views/information.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/concursos-tap/admin/views/update.php:25
- > 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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: apuestas, concursos
concursos-tap/concursos-tap.php Passed 13 tests
The main PHP script in "Concursos TAP" version 2.1.2 is automatically included on every request by WordPress
27 characters long description:
View published competitions
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected437 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 144 | 514 | 427 |
JavaScript | 2 | 8 | 2 | 10 |
CSS | 2 | 0 | 2 | 0 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 12.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 8 | 25.00% |
▷ Public methods | 25 | 78.12% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 21.88% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin