Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.13MB] [CPU: ▼0.35ms] Passed 4 tests
Analyzing server-side resources used by SEO Editor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 36.74 ▼9.15 |
Dashboard /wp-admin | 3.43 ▲0.13 | 53.52 ▲1.40 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 51.52 ▲3.13 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 91.62 ▲3.23 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 37.82 ▲3.69 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for SEO Editor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.32 ▼0.85 | 1.82 ▲0.19 | 44.69 ▲0.18 |
Dashboard /wp-admin | 2,206 ▲18 | 4.84 ▼0.10 | 104.91 ▼15.98 | 42.23 ▼4.37 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▼0.01 | 37.18 ▼1.29 | 33.87 ▼4.18 |
Add New Post /wp-admin/post-new.php | 1,533 ▼13 | 23.22 ▲5.00 | 651.51 ▼17.20 | 55.68 ▼5.80 |
Media Library /wp-admin/upload.php | 1,385 ▼0 | 4.22 ▲0.02 | 93.99 ▼7.72 | 42.46 ▼3.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/seo-editor/admin/class-seo-editor-taxonomy-editor.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/seo-editor/admin/class-seo-editor-post-editor.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/seo-editor/admin/class-seo-editor-user-editor.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: seo bulk editor, seo editor, seo
seo-editor/seo-editor.php Passed 13 tests
The entry point to "SEO Editor" version 1.0.7 is a PHP file that has certain tags in its header comment area
35 characters long description:
Edit SEO data in bulk to save time.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected1,902 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 602 | 1,130 | 1,670 |
JavaScript | 1 | 46 | 61 | 161 |
CSS | 1 | 26 | 18 | 71 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 30.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 88.00 |
Average method complexity | 3.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 104 | |
▷ Static methods | 4 | 3.85% |
▷ Public methods | 76 | 73.08% |
▷ Protected methods | 24 | 23.08% |
▷ Private methods | 4 | 3.85% |
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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin