Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼3.81ms] Passed 4 tests
Analyzing server-side resources used by WP-BibTeX
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 39.57 ▼2.11 |
Dashboard /wp-admin | 3.40 ▲0.09 | 44.33 ▼1.63 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 48.52 ▼4.12 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 89.43 ▼7.38 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 39.57 ▲5.85 |
WP-BibTeX /wp-admin/options-general.php?page=WP-BibTeX | 3.28 | 38.15 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 11 new options
New WordPress options |
---|
highlight_desc_col_class |
blog_owner_name |
db_upgraded |
highlight_row_class |
widget_recent-comments |
theysaidso_admin_options |
additional_fields |
can_compress_scripts |
widget_theysaidso_widget |
highlight_img_col_class |
... |
Browser metrics Passed 4 tests
Checking browser requirements for WP-BibTeX
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,887 ▲130 | 14.04 ▼0.25 | 5.36 ▲3.25 | 38.28 ▼9.98 |
Dashboard /wp-admin | 2,210 ▲22 | 4.86 ▼1.04 | 107.88 ▲4.31 | 40.55 ▼5.07 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.05 | 40.06 ▼2.42 | 37.47 ▼0.49 |
Add New Post /wp-admin/post-new.php | 1,541 ▲27 | 23.05 ▲5.55 | 651.62 ▼44.30 | 54.96 ▼7.03 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.28 ▲0.10 | 105.99 ▲3.33 | 43.79 ▲2.54 |
WP-BibTeX /wp-admin/options-general.php?page=WP-BibTeX | 929 | 2.20 | 25.66 | 26.89 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 11 options in the database
- db_upgraded
- widget_recent-posts
- highlight_desc_col_class
- theysaidso_admin_options
- additional_fields
- widget_recent-comments
- highlight_row_class
- blog_owner_name
- can_compress_scripts
- 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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-bibtex/wp-bibtex-options.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-bibtex/wp-bibtex.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
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:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== wp-bibtex ===
)
wp-bibtex/wp-bibtex.php Passed 13 tests
The main PHP file in "WP-BibTeX" ver. 3.0.0 adds more information about the plugin and also serves as the entry point for this plugin
94 characters long description:
A plugin helps format BibTeX entries to display a bibliography or cite citations in WordPress.
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
Success! There were no dangerous files found in this plugin599 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 41 | 109 | 523 |
CSS | 1 | 11 | 1 | 54 |
JavaScript | 1 | 2 | 1 | 22 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 16 | |
▷ Named functions | 14 | 87.50% |
▷ Anonymous functions | 2 | 12.50% |
Constants | 5 | |
▷ Global constants | 5 | 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
No PNG files were detected