Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼10.90ms] Passed 4 tests
Server-side resources used by DeMomentSomTres Resource Library
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 35.08 ▼6.64 |
Dashboard /wp-admin | 3.35 ▲0.00 | 44.42 ▼15.46 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 48.02 ▲4.15 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 81.83 ▼22.51 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.12 ▲1.00 |
Resource Types /wp-admin/edit-tags.php?taxonomy=resource-type&post_type=resources | 3.26 | 35.61 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=resources | 3.26 | 37.07 |
Add New /wp-admin/post-new.php?post_type=resources | 3.43 | 56.63 |
Resource Library /wp-admin/edit.php?post_type=resources | 3.32 | 36.34 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
category_children |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for DeMomentSomTres Resource Library
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,863 ▲117 | 13.18 ▼1.21 | 1.96 ▲0.03 | 39.52 ▼2.84 |
Dashboard /wp-admin | 2,241 ▲50 | 4.88 ▼0.07 | 98.21 ▼6.34 | 37.62 ▼2.58 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 2.00 ▼0.06 | 39.87 ▼3.26 | 34.38 ▼2.78 |
Add New Post /wp-admin/post-new.php | 1,563 ▲49 | 22.88 ▲5.43 | 668.70 ▲61.21 | 53.99 ▼2.79 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.27 ▲0.10 | 98.18 ▼0.46 | 45.97 ▲0.13 |
Resource Types /wp-admin/edit-tags.php?taxonomy=resource-type&post_type=resources | 1,269 | 2.14 | 29.60 | 30.31 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=resources | 1,478 | 2.14 | 26.73 | 32.52 |
Add New /wp-admin/post-new.php?post_type=resources | 2,899 | 7.84 | 176.28 | 73.00 |
Resource Library /wp-admin/edit.php?post_type=resources | 1,177 | 1.94 | 30.75 | 29.00 |
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 detected upon uninstall: 7 options
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- category_children
- 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 items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/demomentsomtres-resource-library/demomentsomtres-resources.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: documents, library, resources, resource library
demomentsomtres-resource-library/demomentsomtres-resources.php 92% from 13 tests
Analyzing the main PHP file in "DeMomentSomTres Resource Library" version 1.6.1
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("demomentsomtres-resource-library.php" instead of "demomentsomtres-resources.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected161 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 2 | 34 | 66 | 104 |
PHP | 1 | 4 | 9 | 57 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected