Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.95ms] Passed 4 tests
This is a short check of server-side resources used by Glossarey
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 43.17 ▼1.83 |
Dashboard /wp-admin | 3.33 ▼0.01 | 59.00 ▼2.60 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 53.03 ▲1.38 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 98.26 ▼4.75 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 36.23 ▲3.44 |
All entries /wp-admin/edit.php?post_type=glossary_term | 3.30 | 37.51 |
Options /wp-admin/edit.php?post_type=glossary_term&page=glossary-options | 3.22 | 32.05 |
Add New /wp-admin/post-new.php?post_type=glossary_term | 3.37 | 49.30 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Glossarey
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,930 ▲184 | 14.01 ▼0.63 | 10.26 ▲8.10 | 41.52 ▼1.80 |
Dashboard /wp-admin | 2,245 ▲54 | 5.85 ▲0.94 | 100.02 ▼10.52 | 78.80 ▲37.30 |
Posts /wp-admin/edit.php | 2,125 ▲36 | 2.15 ▲0.18 | 38.17 ▼3.19 | 38.47 ▲1.96 |
Add New Post /wp-admin/post-new.php | 1,559 ▲31 | 18.27 ▼5.02 | 669.84 ▲2.26 | 70.19 ▲15.32 |
Media Library /wp-admin/upload.php | 1,421 ▲33 | 4.08 ▼0.14 | 96.63 ▼2.85 | 74.37 ▲30.29 |
All entries /wp-admin/edit.php?post_type=glossary_term | 1,075 | 1.97 | 31.41 | 29.01 |
Options /wp-admin/edit.php?post_type=glossary_term&page=glossary-options | 807 | 2.01 | 23.55 | 24.26 |
Add New /wp-admin/post-new.php?post_type=glossary_term | 2,175 | 7.72 | 170.01 | 141.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just 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/glossarey/glossarey.php:26
- > 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
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=glossary_term
- > Network (severe)
wp-content/plugins/glossarey/assets/img/dictionary.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/post-new.php?post_type=glossary_term
- > Network (severe)
wp-content/plugins/glossarey/assets/js/editor_plugin.js?wp-mce-49110-20201110 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: glossary, dictionary
glossarey/glossarey.php 92% from 13 tests
The principal PHP file in "Glossarey" v. 0.1 is loaded by WordPress automatically on each request
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 163 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin113 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 15 | 30 | 113 |
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.10 |
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 | 12 | |
▷ Named functions | 12 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin