Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.16MB] [CPU: ▲0.43ms] 75% from 4 tests
Analyzing server-side resources used by Humans TXT
The following require your attention
- CPU: Total CPU usage should be kept under 500.00ms (currently 518.32ms on /wp-admin/options-general.php?page=humanstxt)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 42.60 ▼0.15 |
Dashboard /wp-admin | 3.50 ▲0.19 | 54.34 ▲3.03 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 50.59 ▲4.86 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 84.70 ▼4.55 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 38.70 ▲3.39 |
Humans TXT /wp-admin/options-general.php?page=humanstxt | 3.73 | 518.32 |
Server storage [IO: ▲0.13MB] [DB: ▲0.02MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Humans TXT
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 14.77 ▲0.18 | 1.72 ▼0.05 | 43.81 ▼0.23 |
Dashboard /wp-admin | 2,207 ▲25 | 5.80 ▼0.05 | 101.58 ▼8.09 | 39.07 ▲0.86 |
Posts /wp-admin/edit.php | 2,104 ▲12 | 2.04 ▲0.04 | 39.14 ▲2.55 | 34.37 ▼1.76 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.31 ▲0.07 | 689.88 ▲28.05 | 56.43 ▼10.06 |
Media Library /wp-admin/upload.php | 1,403 ▲18 | 4.23 ▲0.05 | 94.23 ▼5.90 | 42.61 ▼2.21 |
Humans TXT /wp-admin/options-general.php?page=humanstxt | 1,220 | 1.76 | 34.96 | 37.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
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 Passed 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
Congratulations! This plugin passed the SRP test
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=humanstxt
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,hoverIntent,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of undefined (reading 'msie')" "TypeError: Cannot read properties of undefined (reading 'msie')\n at HTMLTextAreaElement.\u003Canonymous> (/wp-content/plugins/humanstxt/options.js?ver=1.3.1:157:18)\n at Function.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,hoverIntent,utils&ver=6.3.1:2:3129)\n at e.\u003Ccomputed>.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,hoverIntent,utils&ver=6.3.1:2:1594)\n at $.fn.humansAutoGrow (/wp-content/plugins/humanstxt/options.js?ver=1.3.1:151:15)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/humanstxt/options.js?ver=1.3.1:5:19)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,hoverIntent,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,hoverIntent,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/options-general.php?page=humanstxt
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,hoverIntent,utils&ver=6.3.1 1:28721 Uncaught TypeError: Cannot read properties of undefined (reading 'msie')
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
humanstxt/humanstxt.php Passed 13 tests
The primary PHP file in "Humans TXT" version 1.3.1 is used by WordPress to initiate all plugin functionality
103 characters long description:
Credit the people behind your website in your humans.txt file. Easy to edit, directly within WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,297 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 235 | 562 | 1,056 |
JavaScript | 1 | 34 | 19 | 141 |
CSS | 1 | 18 | 4 | 100 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
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 | 68 | |
▷ Named functions | 68 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin