Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/tags-page/tags-page.php+19
Function create_function() is deprecated
Server metrics [RAM: ▼1.82MB] [CPU: ▼54.45ms] Passed 4 tests
Server-side resources used by Tags Page
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.18 ▼1.28 | 4.87 ▼32.93 |
Dashboard /wp-admin | 2.20 ▼1.15 | 6.60 ▼51.76 |
Posts /wp-admin/edit.php | 2.20 ▼1.16 | 5.72 ▼41.02 |
Add New Post /wp-admin/post-new.php | 2.20 ▼3.69 | 5.86 ▼92.08 |
Media Library /wp-admin/upload.php | 2.20 ▼1.03 | 6.85 ▼30.49 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
tags_page_version |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Tags Page
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲135 | 13.73 ▼0.67 | 5.43 ▲3.54 | 42.50 ▲3.24 |
Dashboard /wp-admin | 2,206 ▲21 | 5.80 ▼0.08 | 98.20 ▼15.12 | 40.32 ▼9.36 |
Posts /wp-admin/edit.php | 2,092 ▲6 | 2.04 ▼0.01 | 36.83 ▼2.94 | 32.88 ▼4.08 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 18.25 ▲0.52 | 616.53 ▼33.36 | 53.06 ▲5.99 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.21 ▲0.01 | 95.89 ▲0.71 | 42.61 ▲0.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/tags-page/tags-page.php+19
Function create_function() is deprecated
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- tags_page_version
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tags-page/tags-page.php:19
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/tags-page/tags-page.php on line 12
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/tags-page/tags-page.php on line 12
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/tags-page/tags-page.php on line 12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
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
5 plugin tags: taxonomy, widget, tags, page, tag-cloud
tags-page/tags-page.php Passed 13 tests
"Tags Page" version 1.3.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
57 characters long description:
Adds a table listing all tags registered on your website.
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
Good job! No executable or dangerous file extensions detected575 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 46 | 24 | 339 |
JavaScript | 4 | 28 | 11 | 116 |
CSS | 4 | 18 | 0 | 85 |
PO File | 1 | 12 | 14 | 35 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 72.00 |
▷ Minimum class complexity | 72.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 5.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 2 | 11.76% |
▷ Public methods | 15 | 88.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 11.76% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
No PNG files were detected