Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.63ms] Passed 4 tests
Server-side resources used by DeMomentSomTres Teams
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 45.41 ▲3.00 |
Dashboard /wp-admin | 3.35 ▲0.04 | 51.94 ▼1.70 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 51.84 ▼7.91 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 90.09 ▼7.90 |
Media Library /wp-admin/upload.php | 3.28 ▲0.04 | 42.38 ▲7.41 |
Temporades /wp-admin/edit-tags.php?taxonomy=temporada&post_type=equip | 3.27 | 37.30 |
Afegir /wp-admin/post-new.php?post_type=equip | 3.42 | 53.93 |
Equips /wp-admin/edit.php?post_type=equip | 3.32 | 40.66 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for DeMomentSomTres Teams
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲45 | 13.68 ▲0.50 | 1.72 ▼0.19 | 44.65 ▼4.67 |
Dashboard /wp-admin | 2,237 ▲28 | 5.91 ▲1.04 | 109.16 ▲8.85 | 39.27 ▼3.67 |
Posts /wp-admin/edit.php | 2,123 ▲34 | 2.04 ▲0.05 | 40.24 ▲0.67 | 35.93 ▲0.36 |
Add New Post /wp-admin/post-new.php | 1,559 ▲45 | 23.18 ▲5.60 | 687.63 ▲12.73 | 55.89 ▲5.77 |
Media Library /wp-admin/upload.php | 1,419 ▲28 | 4.19 ▲0.01 | 95.92 ▼5.42 | 41.42 ▼2.10 |
Temporades /wp-admin/edit-tags.php?taxonomy=temporada&post_type=equip | 1,268 | 2.14 | 32.20 | 30.14 |
Afegir /wp-admin/post-new.php?post_type=equip | 2,595 | 8.06 | 173.69 | 68.42 |
Equips /wp-admin/edit.php?post_type=equip | 1,127 | 2.07 | 33.91 | 35.76 |
Uninstaller [IO: ✅] [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 6 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/demomentsomtres-equips/index.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
2 plugin tags: sports team, custom post type
demomentsomtres-equips/index.php 92% from 13 tests
The entry point to "DeMomentSomTres Teams" version 1.0.2 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("demomentsomtres-equips.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected47 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 3 | 9 | 47 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin