Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.94ms] Passed 4 tests
Analyzing server-side resources used by Hashtags for WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 34.90 ▼3.07 |
Dashboard /wp-admin | 3.33 ▲0.02 | 48.47 ▼1.16 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.41 ▼0.84 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 85.73 ▼14.68 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.25 ▼0.46 |
Hashtags /wp-admin/options-general.php?page=hashtags-for-wp | 3.22 | 28.66 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Hashtags for WordPress
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲31 | 14.34 ▼0.26 | 2.21 ▲0.20 | 41.37 ▼1.48 |
Dashboard /wp-admin | 2,195 ▲18 | 5.57 ▲0.00 | 97.34 ▲5.30 | 42.11 ▼1.83 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.03 ▲0.01 | 40.06 ▲2.82 | 38.13 ▼2.95 |
Add New Post /wp-admin/post-new.php | 1,531 ▼4 | 23.57 ▲5.40 | 613.26 ▼0.48 | 50.72 ▼23.97 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.21 ▼0.06 | 102.75 ▼6.21 | 42.71 ▼4.50 |
Hashtags /wp-admin/options-general.php?page=hashtags-for-wp | 871 | 1.69 | 43.58 | 49.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/hashtags-for-wp/includes/templates/hashtags-for-wp-admin.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=hashtags-for-wp
- > Rendering (warning) in unknown
/wp-admin/options-general.php?page=hashtags-for-wp 165 The specified value "initial" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Screenshots: Please a description for screenshot #1 in hashtags-for-wp/assets to your readme.txt
hashtags-for-wp/hashtags-for-wp.php Passed 13 tests
The main PHP file in "Hashtags for WordPress" ver. 1.0.3 adds more information about the plugin and also serves as the entry point for this plugin
123 characters long description:
The plugin automatically searches for native tags within the post content and adds a linked hashtag symbol before each one.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin159 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 19 | 14 | 114 |
CSS | 1 | 7 | 0 | 45 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.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 | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin