Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.43ms] Passed 4 tests
Server-side resources used by Difficulty Taxonomy
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.65 ▲0.44 |
Dashboard /wp-admin | 3.33 ▲0.02 | 53.08 ▲3.92 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.15 ▲0.09 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 90.14 ▼13.74 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.99 ▼0.49 |
Difficulties /wp-admin/edit-tags.php?taxonomy=difficulty | 3.24 | 35.38 |
Server storage [IO: ▲0.01MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Difficulty Taxonomy
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.25 ▼1.05 | 1.71 ▼0.10 | 44.27 ▲4.48 |
Dashboard /wp-admin | 2,210 ▲22 | 5.91 ▲0.04 | 96.64 ▼6.25 | 39.42 ▼7.16 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.01 ▲0.04 | 37.61 ▲3.53 | 32.21 ▼0.38 |
Add New Post /wp-admin/post-new.php | 1,546 ▲27 | 18.25 ▼5.02 | 618.06 ▼71.26 | 52.92 ▲4.06 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.20 ▲0.03 | 96.35 ▲0.02 | 42.20 ▼4.08 |
Difficulties /wp-admin/edit-tags.php?taxonomy=difficulty | 1,263 | 2.13 | 26.01 | 30.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.31MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/difficulty-taxomony/difficulty-taxomony.php:41
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: difficulty, taxonomy, posts, sorting
difficulty-taxomony/difficulty-taxomony.php Passed 13 tests
The entry point to "Difficulty Taxonomy" version 1.0 is a PHP file that has certain tags in its header comment area
99 characters long description:
The Difficulty Taxonomy plugin adds a basic taxonomy for sorting posts into different difficulties.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected73 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 1 | 13 | 15 | 43 |
PHP | 1 | 2 | 10 | 30 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
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 | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected